teableio_teable/apps/nextjs-app/babel.config.backup.js
tea artist 4d1f8797db
feat: support i18n without app path change (#6)
* feat: support next app dir
* fix: error when run next build
* fix: incress limit page size
* feat: add chinese translation
* feat: support i18n without path change
* chore: move back pages, give up appdir
* fix: upgrade NextRequest type broken
* fix: auth & admin page error
* fix: create next server with hostname and port
* test: migrate e2e test case
2022-11-21 13:50:03 +08:00

13 lines
329 B
JavaScript

module.exports = function (api) {
// const isTest = api.env('test');
// const isDevelopment = api.env('development');
// const isServer = api.caller((caller) => caller?.isServer);
// const isCallerDevelopment = api.caller((caller) => caller?.isDev);
api.cache(true);
return {
presets: [['next/babel']],
};
};