css-minimizer-webpack-plugin

v7.0.0
CSS minimizer (minifier) plugin for Webpack
cssnano css csso clean-css swc esbuild webpack webpack-plugin minimize and 6 more...

start

npm run build -- -w

clean

del-cli dist

prebuild

npm run clean types

build:types

tsc --declaration --emitDeclarationOnly --outDir types && prettier "types/**/*.ts" --write

build:code

cross-env NODE_ENV=production babel src -d dist --copy-files

build

npm-run-all -p "build:**"

commitlint

commitlint --from=master

security

npm audit

lint:prettier

prettier --cache --list-different .

lint:js

eslint --cache .

lint:spelling

cspell --cache --no-must-find-files --quiet "**/*.*"

lint:types

tsc --pretty --noEmit

lint

npm-run-all -l -p "lint:**"

fix:js

npm run lint:js -- --fix

fix:prettier

npm run lint:prettier -- --write

fix

npm-run-all -l fix:js fix:prettier

test:only

cross-env NODE_ENV=test NODE_OPTIONS="--experimental-vm-modules" jest

test:watch

npm run test:only -- --watch

test:coverage

npm run test:only -- --collectCoverageFrom="src/**/*.js" --coverage

pretest

npm run lint

test

npm run test:coverage

prepare

husky && npm run build

release

standard-version
npm i css-minimizer-webpack-plugin

Metadata

  • MIT
  • >= 18.12.0
  • Loann Neveu
  • released 5/7/2024

Downloads