Browse Source

Remove overzealous linter fixes

pull/17039/head
Germain Souquet 1 year ago
parent
commit
87806b8a67
  1. 15
      webpack.config.js

15
webpack.config.js

@ -183,8 +183,8 @@ module.exports = (env, argv) => {
loader: 'postcss-loader',
ident: 'postcss',
options: {
"sourceMap": true,
"plugins": () => [
sourceMap: true,
plugins: () => [
// Note that we use significantly fewer plugins on the plain
// CSS parser. If we start to parse plain CSS, we end with all
// kinds of nasty problems (like stylesheets not loading).
@ -211,7 +211,7 @@ module.exports = (env, argv) => {
// up with broken CSS.
require('postcss-preset-env')({stage: 3, browsers: 'last 2 versions'}),
],
"parser": "postcss-scss",
parser: "postcss-scss",
"local-plugins": true,
},
},
@ -232,8 +232,8 @@ module.exports = (env, argv) => {
loader: 'postcss-loader',
ident: 'postcss',
options: {
"sourceMap": true,
"plugins": () => [
sourceMap: true,
plugins: () => [
// Note that we use slightly different plugins for SCSS.
require('postcss-import')(),
@ -250,7 +250,7 @@ module.exports = (env, argv) => {
// up with broken CSS.
require('postcss-preset-env')({stage: 3, browsers: 'last 2 versions'}),
],
"parser": "postcss-scss",
parser: "postcss-scss",
"local-plugins": true,
},
},
@ -423,9 +423,6 @@ module.exports = (env, argv) => {
hot: false,
inline: false,
},
stats: {
warnings: false,
},
};
};

Loading…
Cancel
Save