forked from matrix/element-web
argh, fix eslint false positives
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
9b38a97110
commit
dd7f9e2d5f
|
@ -38,9 +38,7 @@ module.exports = {
|
||||||
// would also drag in the imgs and fonts that our CSS refers to
|
// would also drag in the imgs and fonts that our CSS refers to
|
||||||
// as webpack inputs.)
|
// as webpack inputs.)
|
||||||
// 3. ExtractTextPlugin turns that string into a separate asset.
|
// 3. ExtractTextPlugin turns that string into a separate asset.
|
||||||
loader: ExtractTextPlugin.extract(
|
loader: ExtractTextPlugin.extract("css-raw-loader!postcss-loader?config=postcss.config.js"),
|
||||||
"css-raw-loader!postcss-loader?config=postcss.config.js",
|
|
||||||
),
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// this works similarly to the scss case, without postcss.
|
// this works similarly to the scss case, without postcss.
|
||||||
|
@ -112,12 +110,9 @@ module.exports = {
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|
||||||
new ExtractTextPlugin(
|
new ExtractTextPlugin("bundles/[hash]/[name].css", {
|
||||||
"bundles/[hash]/[name].css",
|
|
||||||
{
|
|
||||||
allChunks: true,
|
allChunks: true,
|
||||||
},
|
}),
|
||||||
),
|
|
||||||
|
|
||||||
new HtmlWebpackPlugin({
|
new HtmlWebpackPlugin({
|
||||||
template: './src/vector/index.html',
|
template: './src/vector/index.html',
|
||||||
|
|
Loading…
Reference in New Issue