Commit df7e3841 authored by JC Brand's avatar JC Brand

Add latest babel plugin for dynamic imports

parent 778fb4e6
......@@ -2874,12 +2874,6 @@
"object.assign": "^4.1.0"
}
},
"babel-plugin-syntax-dynamic-import": {
"version": "6.18.0",
"resolved": "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz",
"integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=",
"dev": true
},
"backbone": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/backbone/-/backbone-1.4.0.tgz",
......
......@@ -49,7 +49,6 @@ const config = {
}
}
]
}, {
}, {
test: /webfonts\/.*\.(woff(2)?|ttf|eot|truetype|svg)(\?v=\d+\.\d+\.\d+)?$/,
use: [
......@@ -70,7 +69,9 @@ const config = {
options: {
sourceMap: true
}
}, {
},
'postcss-loader',
{
loader: 'sass-loader',
options: {
includePaths: [
......@@ -92,7 +93,8 @@ const config = {
"browsers": [">1%", "not ie 11", "not op_mini all"]
}
}]
]
],
plugins: ['@babel/plugin-syntax-dynamic-import']
}
}
}, {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment