mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-26 13:08:58 +02:00
Upgrade babel in v2 folder
This commit is contained in:
parent
c24e9bfb7f
commit
fe25a318d7
12 changed files with 714 additions and 462 deletions
|
@ -51,7 +51,7 @@ module.exports = function createBaseConfig(props, isServer) {
|
|||
.loader('babel-loader')
|
||||
.options({
|
||||
babelrc: false,
|
||||
presets: ['env', 'react'],
|
||||
presets: ['@babel/env', '@babel/react'],
|
||||
plugins: [isServer ? 'dynamic-import-node' : 'syntax-dynamic-import'],
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue