From be3f9fcbfe66b325a8b6119f68ab69d2841a648a Mon Sep 17 00:00:00 2001 From: Johannes Schill Date: Wed, 13 Mar 2019 13:25:38 +0100 Subject: [PATCH] fix: Use proper syntax for plugin-syntax-dynamic-import --- scripts/webpack/webpack.hot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/webpack/webpack.hot.js b/scripts/webpack/webpack.hot.js index 3d4cdd526cc..81a5b3f3c9b 100644 --- a/scripts/webpack/webpack.hot.js +++ b/scripts/webpack/webpack.hot.js @@ -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: [