fix: Use proper syntax for plugin-syntax-dynamic-import

This commit is contained in:
Johannes Schill 2019-03-13 13:25:38 +01:00
parent 1680dbac7d
commit be3f9fcbfe

View File

@ -56,7 +56,7 @@ module.exports = merge(common, {
plugins: [
[require('@rtsao/plugin-proposal-class-properties'), { loose: true }],
'angularjs-annotate',
'syntax-dynamic-import', // needed for `() => import()` in routes.ts
'@babel/plugin-syntax-dynamic-import', // needed for `() => import()` in routes.ts
'react-hot-loader/babel',
],
presets: [