quick-webpack-kit
v0.1.1
Published
cli for creating webpack config script
Downloads
2
Readme
Quick Overview
mkdir my-app
cd my-app
npm init
...
npx quick-webpack-kit
npm run start
Then webpack4 script files with configuration of react rule and postcss(with precss and autoprefixer) rule are created in my-app dir.
Synopsis
npx quick-webpack-kit -v|--version
npx quick-webpack-kit -u|--use-version '<version-number>'
npx quick-webpack-kit -j|--js-processors '<processors>'
npx quick-webpack-kit -s|--style-processors '<processors>'
npx quick-webpack-kit --no-install
Usage
-u, --use-version <version-number>
Default: 4 - Specify Webpack version, currrently only support '4'.-j, --js-processors <processors>
Default: react - Specify javascript processors such as 'react', 'typescript', 'vue', currently only support 'react'.<processors>
support multip values like 'react,typescript'-s, --style-processors <processors>
Default: sasslike - Specify style(css,image,fonts) processors such as 'sasslike', 'lesslike', 'cssinjs' currently only support 'sasslike'.<processors>
support multip values like 'sasslike,csslint'--no-install
- Do not install devDependncies package, users can install by themselves.