argh, fix eslint false positives

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/3690/head
Michael Telatynski 2017-04-21 19:00:24 +01:00
parent 9b38a97110
commit dd7f9e2d5f
1 changed files with 4 additions and 9 deletions

View File

@ -38,9 +38,7 @@ module.exports = {
// would also drag in the imgs and fonts that our CSS refers to
// as webpack inputs.)
// 3. ExtractTextPlugin turns that string into a separate asset.
loader: ExtractTextPlugin.extract(
"css-raw-loader!postcss-loader?config=postcss.config.js",
),
loader: ExtractTextPlugin.extract("css-raw-loader!postcss-loader?config=postcss.config.js"),
},
{
// this works similarly to the scss case, without postcss.
@ -112,12 +110,9 @@ module.exports = {
},
}),
new ExtractTextPlugin(
"bundles/[hash]/[name].css",
{
new ExtractTextPlugin("bundles/[hash]/[name].css", {
allChunks: true,
},
),
}),
new HtmlWebpackPlugin({
template: './src/vector/index.html',