chore(build): disable `postcss-custom-properties` option in PostCSS
This commit is contained in:
parent
fd57e4bc4f
commit
4bbc199636
|
@ -29,7 +29,10 @@ module.exports = (grunt) ->
|
|||
exp:
|
||||
options:
|
||||
processors: [
|
||||
require('postcss-preset-env')()
|
||||
require('postcss-preset-env')(
|
||||
features:
|
||||
'custom-properties': false
|
||||
)
|
||||
require('autoprefixer')()
|
||||
]
|
||||
src: 'dist/bundle.css'
|
||||
|
@ -37,7 +40,10 @@ module.exports = (grunt) ->
|
|||
min:
|
||||
options:
|
||||
processors: [
|
||||
require('postcss-preset-env')()
|
||||
require('postcss-preset-env')(
|
||||
features:
|
||||
'custom-properties': false
|
||||
)
|
||||
require('autoprefixer')()
|
||||
require('cssnano')(preset: 'default')
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue