diff options
Diffstat (limited to 'library/cropperjs/postcss.config.js')
-rw-r--r-- | library/cropperjs/postcss.config.js | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/library/cropperjs/postcss.config.js b/library/cropperjs/postcss.config.js index af7ec6024..29f9daf85 100644 --- a/library/cropperjs/postcss.config.js +++ b/library/cropperjs/postcss.config.js @@ -2,13 +2,21 @@ const rollupConfig = require('./rollup.config'); module.exports = { plugins: { - 'postcss-cssnext': {}, + 'postcss-import': {}, + 'postcss-preset-env': { + stage: 3, + features: { + 'nesting-rules': true, + }, + }, 'postcss-url': { url: 'inline', }, 'postcss-header': { - header: rollupConfig.banner, + header: rollupConfig.output[0].banner, + }, + stylelint: { + fix: true, }, - stylefmt: {}, }, }; |