diff options
author | Alexey Vasiliev <leopard.not.a@gmail.com> | 2018-07-07 10:54:34 +0300 |
---|---|---|
committer | Alexey Vasiliev <leopard.not.a@gmail.com> | 2018-07-07 10:54:34 +0300 |
commit | 9f6382a91d2465255708a3843568b0cce9ab0cf5 (patch) | |
tree | 5de0715ca74e7c567bd4518a5aabdc8c1ce20d3e /webpack.config.js | |
parent | 841bbdd6bcd5b1bf323b8883f49c099252d0aeb3 (diff) |
use postcss-env instead deprecated cssnext
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/webpack.config.js b/webpack.config.js index beb643f..e7bbbad 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -44,14 +44,13 @@ const cssLoaders = [ flexbox: 'flex' }), require('rucksack-css')(), - require('postcss-cssnext')({ + require('postcss-preset-env')({ browsers: [ '>0.25%', 'not op_mini all' ], features: { - rem: false, - customProperties: { + 'custom-properties': { strict: false, warnings: false, preserve: true |