webpack@next webpack-multi-page-cli 多页脚手架2.0

对原有的1.x版本进行的大版本的升级。本多页脚手架面向实际工作流,能够覆盖绝大多数的使用场景,在实际工作中,能结合的应用场景会更加多元化。

github:https://github.com/pomelott/webpack-multi-page-cli

如对您有帮助,请给星,如有问题请提issue。 

主要思想:

1. 多页cli不仅要能够满足多页使用场景,对于hybrid开发来讲,多页与SPA 混用会是常态事件。

2. 满足定制化,local Server, remote Server, dev Server, CDN Server.

3. 满足灵活的 CI/CD

4. 不局限于 Vue,React

5. 业务模块化

webpackMultiPageCli based on webpack@latest. This cli can provide:

  1. More flexible directory structure
  2. More comprehensive build functions
  3. Much Higher scalability
  4. More active and frequent maintenance

Fast Use

  • download the dependences
    npm install
  • running with development mode
    npm run dev
  • running with production mode
    npm run build
  • running with analyzer
    npm run analyze

更多文档细节,可见 gihub:https://github.com/pomelott/webpack-multi-page-cli

posted @ 2020-05-28 22:31  TateWang  阅读(285)  评论(0编辑  收藏  举报
Top