docusaurus/packages/docusaurus-init/templates/bootstrap/babel.config.js
Sam Zhou 729b3cae9b
feat(v2): Allow configuring babel via babel.config.js (#2903)
* feat(v2): Allow configuring babel via docusaurus.config.js

* Use api.caller feature from babel to avoid expose isServer to users

* Remove unused optional config key

* Make babel loader resolve and require config file
2020-06-12 11:03:00 +08:00

3 lines
89 B
JavaScript

module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};