Skip to content

Commit

Permalink
feat: add preset for cssnano (#208)
Browse files Browse the repository at this point in the history
Co-authored-by: Jiawen Geng <technicalcute@gmail.com>
  • Loading branch information
sigveio and gengjiawen authored May 6, 2024
1 parent 11b4d95 commit d4f73e9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/presets.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,14 @@ module.exports = {
npmPackages: null,
npmGlobalPackages: null,
},
cssnano: {
System: ['OS', 'CPU'],
Binaries: ['Node', 'Yarn', 'npm', 'pnpm', 'bun'],
npmPackages: ['cssnano', 'postcss'],
options: {
duplicates: true,
},
},
jest: {
System: ['OS', 'CPU'],
Binaries: ['Node', 'Yarn', 'npm', 'pnpm', 'bun'],
Expand Down

0 comments on commit d4f73e9

Please sign in to comment.