Add json-loader to add webpack.config.js files. Helps with #507.

This commit is contained in:
SteveSandersonMS
2016-12-13 12:57:06 +00:00
parent 1c4682e50d
commit 4cc61d79e2
8 changed files with 13 additions and 5 deletions

View File

@@ -17,7 +17,8 @@ module.exports = {
{ 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' }
{ test: /\.(png|woff|woff2|eot|ttf|svg)$/, loader: 'url-loader?limit=100000' },
{ test: /\.json$/, loader: 'json-loader' }
]
},
plugins: [