webpack配置文件模板自动生成工具

1,197 阅读1分钟
原文链接: github.com

A tool for generate webpack configuration file(s) template (v3 | v4)

Install

$ npm install start-webpack-conf -g

Usage

$ wpk init -D mydir

Options

option description
-V3, --v3 init webpack.config.js for webpack 3.x
-V4, --v4 init webpack.config.js for webpack 4.x
-N, --num [value] init webpack.config.js * num (default 1)
-D, --dir [value] init configuration file(s) in dir/path (default pkg root)

License

MIT