diff --git a/webpack.config.js b/webpack.config.js index 21459b2..57a2cd8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -236,10 +236,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') ] }, {