diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-10-30 16:46:17 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-10-30 16:46:17 +0800 |
| commit | f138c963257b36263c1abc38fb032bff3105eaa0 (patch) | |
| tree | 0062421b589a2e342957683d5fb2d78fc8ee04a7 /postcss.config.js | |
| parent | 9983a453edf63c3dc8f592f0755e3c56ee9b374f (diff) | |
added plugin: postcssImport, postcssNested
Diffstat (limited to 'postcss.config.js')
| -rw-r--r-- | postcss.config.js | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/postcss.config.js b/postcss.config.js index be079ffd..24084af5 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -10,18 +10,22 @@ const pixrem = require('pixrem') const doiuse = require('doiuse') const postcssFixes = require('postcss-fixes') const rucksackCss = require('rucksack-css') +const postcssImport = require('postcss-import') +const postcssNested = require('postcss-nested') module.exports = { plugins: [ - cssnano({ preset: 'default' }), - postcssPresetEnv(), - postcssWillChange(), - autoprefixer(), - postcssColorRgbaFallback(), - postcssPseudoelements(), - postcssVmin(), - doiuse(), - postcssFixes(), - rucksackCss(), + cssnano({ preset: 'default' }), + postcssPresetEnv(), + postcssWillChange(), + autoprefixer(), + postcssColorRgbaFallback(), + postcssPseudoelements(), + postcssVmin(), + doiuse(), + postcssFixes(), + rucksackCss(), + postcssImport(), + postcssNested(), ], -}; +};
\ No newline at end of file |
