Skip to content

Commit f79936c

Browse files
In Angular2Spa webpack config, allow html/css files from node_modules to be loaded via Webpack.
1 parent e859428 commit f79936c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎templates/Angular2Spa/webpack.config.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module.exports ={
1010
module: {
1111
loaders: [
1212
{test: /\.ts$/,include: /ClientApp/,loader: 'ts',query: {silent: true}},
13-
{test: /\.html$/,include: /ClientApp/,loader: 'raw'},
14-
{test: /\.css/,include: /ClientApp/,loader: 'to-string!css'},
13+
{test: /\.html$/,loader: 'raw'},
14+
{test: /\.css/,loader: 'to-string!css'},
1515
{test: /\.(png|jpg|jpeg|gif|svg)$/,loader: 'url',query: {limit: 25000}}
1616
]
1717
},

0 commit comments

Comments
(0)