对原有的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:
- More flexible directory structure
- More comprehensive build functions
- Much Higher scalability
- More active and frequent maintenance
Fast Use
- download the dependences
- 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