An open API service indexing awesome lists of open source software.

https://github.com/ysk2014/flow-build

打包工具
https://github.com/ysk2014/flow-build

cli loader vue webpack webpacker

Last synced: 12 months ago
JSON representation

打包工具

Awesome Lists containing this project

README

          

## 基于 Webpack 的前端构建工程化解决方案

## 基本功能

- 支持vue服务端渲染,前端渲染,静态页面渲染三种方式
- 默认支持`dev`,`test`,`prod`环境配置
- 支持es6 class继承方式编写webpack配置
- 支持js/css/image压缩,内置CDN特性
- 支持css/sass/less/stylus, 支持css module和css extract特性
- 支持loader是否启用,合并,覆盖配置
- 支持plugin是否启用,合并,覆盖配置
- 支持 loader 和 plugin npm module 是否启用,按需安装
- 支持eslint, postcss等特性
- 提供`imerge-loader`进行合图

## 安装

`npm install --save-dev flow-build`

## 开发
运行

`flow start`

## 打包

`flow build`

## [配置文档](https://github.com/ysk2014/flow-build/blob/master/docs/config.md)
## [vue和vue-ssr解决方案](https://github.com/ysk2014/flow-build/blob/master/docs/vue.md)