We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3def765 commit d0320ebCopy full SHA for d0320eb
packages/@vue/cli-service/lib/config/css.js
@@ -60,9 +60,10 @@ module.exports = (api, options) => {
60
const needInlineMinification = isProd && !shouldExtract
61
62
const cssnanoOptions = {
63
- safe: true,
64
- autoprefixer: { disable: true },
65
- mergeLonghand: false
+ preset: ['default', {
+ mergeLonghand: false,
+ cssDeclarationSorter: false
66
+ }]
67
}
68
if (options.productionSourceMap && sourceMap) {
69
cssnanoOptions.map = { inline: false }
0 commit comments