In Angular2Spa webpack config, allow html/css files from node_modules to be loaded via Webpack.
This commit is contained in:
parent
e8594287db
commit
f79936c104
|
|
@ -10,8 +10,8 @@ module.exports = {
|
|||
module: {
|
||||
loaders: [
|
||||
{ test: /\.ts$/, include: /ClientApp/, loader: 'ts', query: { silent: true } },
|
||||
{ test: /\.html$/, include: /ClientApp/, loader: 'raw' },
|
||||
{ test: /\.css/, include: /ClientApp/, loader: 'to-string!css' },
|
||||
{ test: /\.html$/, loader: 'raw' },
|
||||
{ test: /\.css/, loader: 'to-string!css' },
|
||||
{ test: /\.(png|jpg|jpeg|gif|svg)$/, loader: 'url', query: { limit: 25000 } }
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue