@jswork/webpack-dll-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

webpack-dll-cli

Webpack dll plugin to be a simply cli.

Version Downloads/week License

installation

npm i -D webpack webpack-cli 
npm i -g @jswork/webpack-dll-cli

usgae

# 1. create config file
wpkdc -i

# 2.1 generate js dll files
wpkdc

# 2.2 generate css dll file
wpkdc -t=css

help

Generate dll files use webpack.DllPlugin.

USAGE
  $ wpkdc

OPTIONS
  -h, --help           show CLI help
  -i, --init           Generate .webpack.dll.yml file.
  -t, --type=(css|js)  [default: js] Type of asset(css/js).
  -v, --version        show CLI version

.webpack.example.dll.yml

name: template
css:
  path: src/assets/libs/css
  entry: ./src/assets/styles/index.scss

js:
  path: src/assets/libs/js
  entry:
    venders:
      - react
      - react-dom

Package Sidebar

Install

npm i @jswork/webpack-dll-cli

Homepage

js.work

Weekly Downloads

0

Version

1.0.5

License

MIT

Unpacked Size

9.04 kB

Total Files

9

Last publish

Collaborators

  • afeiship