Moved back to ng1
Change-Id: I43b284e3b3cb3ac19d43c088de988c89a7ea8807
diff --git a/conf/webpack-test.conf.js b/conf/webpack-test.conf.js
index c39b1c4..c271708 100644
--- a/conf/webpack-test.conf.js
+++ b/conf/webpack-test.conf.js
@@ -1,5 +1,3 @@
-const webpack = require('webpack');
-const conf = require('./gulp.conf');
module.exports = {
module: {
preLoaders: [
@@ -9,7 +7,6 @@
loader: 'tslint'
}
],
-
loaders: [
{
test: /.json$/,
@@ -21,6 +18,7 @@
test: /\.ts$/,
exclude: /node_modules/,
loaders: [
+ 'ng-annotate',
'ts'
]
},
@@ -29,15 +27,19 @@
loaders: [
'html'
]
+ },
+ {
+ test: /\.(css|scss)$/,
+ loaders: [
+ 'style',
+ 'css',
+ 'sass',
+ 'postcss'
+ ]
}
]
},
- plugins: [
- new webpack.ContextReplacementPlugin(
- /angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
- conf.paths.src
- )
- ],
+ plugins: [],
debug: true,
devtool: 'source-map',
resolve: {