mirror of
https://github.com/vector-im/element-web.git
synced 2024-09-09 22:55:12 +00:00
argh, fix eslint false positives
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
9b38a97110
commit
dd7f9e2d5f
1 changed files with 4 additions and 9 deletions
|
@ -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 a new issue