|
@@ -45,7 +45,9 @@ module.exports = {
|
|
|
use: [{
|
|
use: [{
|
|
|
loader: 'babel-loader',
|
|
loader: 'babel-loader',
|
|
|
options: {
|
|
options: {
|
|
|
- presets: ['env'],
|
|
|
|
|
|
|
+ presets: [
|
|
|
|
|
+ ['env', { modules: false }]
|
|
|
|
|
+ ],
|
|
|
// Configure babel-loader to cache compiled output so that subsequent
|
|
// Configure babel-loader to cache compiled output so that subsequent
|
|
|
// compile runs are much faster
|
|
// compile runs are much faster
|
|
|
cacheDirectory: true
|
|
cacheDirectory: true
|