|
|
|
@ -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, |
|
|
|
|
}, |
|
|
|
|
}; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|