Skip to content

Commit

Permalink
chore: add preset for cssnano
Browse files Browse the repository at this point in the history
  • Loading branch information
sigveio committed Aug 20, 2021
1 parent f1cd4da commit e5378ec
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 @@ -79,6 +79,14 @@ module.exports = {
npmPackages: null,
npmGlobalPackages: null,
},
cssnano: {
System: ['OS', 'CPU'],
Binaries: ['Node', 'Yarn', 'npm'],
npmPackages: ['cssnano', 'postcss'],
options: {
duplicates: true,
},
},
jest: {
System: ['OS', 'CPU'],
Binaries: ['Node', 'Yarn', 'npm'],
Expand Down

0 comments on commit e5378ec

Please sign in to comment.