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

猜你喜欢

转载自www.cnblogs.com/pomelott/p/12984465.html