diff --git a/packages/base-manager/test/webpack-cov.conf.js b/packages/base-manager/test/webpack-cov.conf.js index ce990f4c40e..0e84a42c20c 100644 --- a/packages/base-manager/test/webpack-cov.conf.js +++ b/packages/base-manager/test/webpack-cov.conf.js @@ -12,7 +12,7 @@ module.exports = { loaders: [ { test: /\.json$/, loader: 'json-loader' }, { test: /\.ipynb$/, loader: 'json-loader' }, - { test: /\.css$/, loader: 'style-loader!css-loader' }, + { test: /\.css$/, use: ['style-loader', 'css-loader'] }, { test: /\.md$/, loader: 'raw-loader' }, { test: /\.html$/, loader: 'file?name=[name].[ext]' } ], diff --git a/packages/base-manager/test/webpack.conf.js b/packages/base-manager/test/webpack.conf.js index 0f102497d91..85c0249f852 100644 --- a/packages/base-manager/test/webpack.conf.js +++ b/packages/base-manager/test/webpack.conf.js @@ -10,7 +10,7 @@ module.exports = { bail: true, module: { rules: [ - { test: /\.css$/, loader: 'style-loader!css-loader' }, + { test: /\.css$/, use: ['style-loader', 'css-loader'] }, { test: /\.md$/, loader: 'raw-loader' }, { test: /\.html$/, loader: 'file?name=[name].[ext]' }, { test: /\.ipynb$/, loader: 'json-loader' }