chore(v2): revert back to babel-plugin-dynamic-import-node (#1037)

This commit is contained in:
Vikram Rangaraj 2018-10-14 15:22:06 -07:00 committed by Yangshun Tay
parent b577f60d4a
commit 1c333ee22a
4 changed files with 1367 additions and 10 deletions

View file

@ -53,9 +53,7 @@ module.exports = function createBaseConfig(props, isServer) {
babelrc: false,
presets: ['@babel/env', '@babel/react'],
plugins: [
isServer
? 'babel-plugin-transform-dynamic-import'
: '@babel/syntax-dynamic-import',
isServer ? 'dynamic-import-node' : '@babel/syntax-dynamic-import',
],
});
}

View file

@ -51,7 +51,7 @@
"@babel/preset-react": "^7.0.0",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.0",
"babel-plugin-transform-dynamic-import": "^2.1.0",
"babel-plugin-dynamic-import-node": "^2.2.0",
"chalk": "^2.4.1",
"chokidar": "^2.0.4",
"classnames": "^2.2.6",

File diff suppressed because it is too large Load diff

185
yarn.lock

File diff suppressed because it is too large Load diff