Commit e18a69e3 authored by alexandre's avatar alexandre

disable postcss cssnext custom properties

parent 592087c1
......@@ -148,7 +148,8 @@ REST_FRAMEWORK = {
# Django Compressor setup
COMPRESS_PRECOMPILERS = (
('text/css', './node_modules/.bin/postcss {infile} --use postcss-cssnext --use postcss-import --use postcss-selector-matches'),
# ('text/css', './node_modules/.bin/postcss {infile} --use postcss-cssnext --use postcss-import --use postcss-selector-matches'),
('text/css', './node_modules/.bin/postcss {infile} --config postcssrc.json'),
)
COMPRESS_ENABLED = False
......
module.exports = ctx => ({
map: ctx.options.map,
plugins: {
'postcss-cssnext': {
features: {
customProperties: false
}
},
'postcss-import': {},
'postcss-selector-matches': {},
}
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment