diff --git a/webpack.config.js b/webpack.config.js index a3a4bd5..91bb465 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -238,10 +238,11 @@ module.exports = { "rules": [ { "enforce": "pre", - "test": /\.js$/, + "test": /\.(js|ts)$/, "loader": "source-map-loader", "exclude": [ - /\/node_modules\// + /\/node_modules\//, + path.join(__dirname, 'node_modules', '@angular/compiler') ] }, {