diff --git a/resources/assets/build/postcss.config.js b/resources/assets/build/postcss.config.js index 6e6dd87caa..ef02554381 100644 --- a/resources/assets/build/postcss.config.js +++ b/resources/assets/build/postcss.config.js @@ -8,8 +8,8 @@ module.exports = ({ file, options }) => { return { parser: options.enabled.optimize ? 'postcss-safe-parser' : undefined, plugins: { - cssnano: options.enabled.optimize ? cssnanoConfig : false, autoprefixer: true, + cssnano: options.enabled.optimize ? cssnanoConfig : false, }, }; }; diff --git a/resources/assets/build/webpack.config.js b/resources/assets/build/webpack.config.js index 5d1c538fcd..888a1a6b90 100644 --- a/resources/assets/build/webpack.config.js +++ b/resources/assets/build/webpack.config.js @@ -89,7 +89,12 @@ let webpackConfig = { }, }, { loader: 'resolve-url', options: { sourceMap: config.enabled.sourceMaps } }, - { loader: 'sass', options: { sourceMap: config.enabled.sourceMaps } }, + { + loader: 'sass', options: { + sourceMap: config.enabled.sourceMaps, + sourceComments: true, + }, + }, ], }), },