Replaced react-loadable with @loadable/component

This commit is contained in:
2021-03-24 01:03:11 +11:00
parent 9788552d0c
commit 4280319443
4 changed files with 38 additions and 50 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ module.exports = ({ production, analyzer }) => {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: ['react-loadable/babel', '@babel/plugin-syntax-dynamic-import']
plugins: ['@babel/plugin-syntax-dynamic-import']
}
}
]