Add '-loader' suffix to all Webpack loader references

This commit is contained in:
Scott Addie
2016-11-19 14:20:52 -06:00
committed by Steve Sanderson
parent bbbcb5ef18
commit 3a4936dbf7
17 changed files with 36 additions and 36 deletions

View File

@@ -14,9 +14,9 @@ module.exports = {
},
module: {
loaders: [
{ test: /\.ts$/, include: /ClientApp/, loader: 'ts', query: { silent: true } },
{ test: /\.html$/, loader: 'html' },
{ test: /\.css$/, loaders: [ 'style', 'css' ] },
{ test: /\.ts$/, include: /ClientApp/, loader: 'ts-loader', query: { silent: true } },
{ test: /\.html$/, loader: 'html-loader' },
{ test: /\.css$/, loaders: [ 'style-loader', 'css-loader' ] },
{ test: /\.(png|woff|woff2|eot|ttf|svg)$/, loader: 'url-loader?limit=100000' }
]
},