diff --git a/webpack/webpack.dev.js b/webpack/webpack.dev.js index 703b187b..c9fcb78c 100644 --- a/webpack/webpack.dev.js +++ b/webpack/webpack.dev.js @@ -36,7 +36,7 @@ module.exports = { ], module: { rules: [ - { test: /\.ts$/, use: [ { loader: 'ng-router-loader', options: { loader: 'async-import', genDir: './src/ngfactory', aot: false } }, { loader: 'awesome-typescript-loader', options: { configFileName: './src/tsconfig.browser.json' } }, { loader: 'angular2-template-loader' } ] } + { test: /\.ts$/, loader: '@ngtools/webpack' } ] } }