1.1.2 • Published 4 months ago
@pipflow/core v1.1.2
@pipflow/core
Wrapping Gulp's build process.
It provides a series of out-of-the-box build tasks , can cover from html, css, javascript to static resources , local servers , the entire front-end project build process , greatly simplifying and optimizing the configuration process of Gulp .
基于Gulp构建流程的封装。
它提供了一系列开箱即用的构建任务,可以涵盖从 html、css、javascript 到静态资源、本地服务器的整个前端项目构建流程,极大地简化和优化了Gulp的配置过程。
Install
npm install --save-dev @pipflow/core
Usage
const gulp = require('gulp')
const {
scriptTask,
styleTask,
htmlTask
} = require('@pipflow/core')
exports.buildHtml = done => {
return htmlTask({
input: 'src/**/*.{html,ejs}',
compiler: 'ejs'
}, done)
}
exports.buildScript = done => {
return scriptTask({
input: 'src/**/*.{js,mjs}',
compiler: 'babel'
}, done)
}
exports.buildStyle = done => {
return styleTask({
input: 'src/**/*.{css,less}',
compiler: 'less'
}, done)
}
// ...
Documents 📚
1.1.2
4 months ago
1.1.1
4 months ago
1.1.0
4 months ago
1.0.0
4 months ago
0.13.0
5 months ago
0.12.0
6 months ago
0.11.0
6 months ago
0.10.0
7 months ago
0.9.3
7 months ago
0.9.2
8 months ago
0.9.1
8 months ago
0.9.0
8 months ago
0.8.0
9 months ago
0.7.2
9 months ago
0.7.1
9 months ago
0.7.0
9 months ago
0.6.0
9 months ago
0.5.1
9 months ago
0.5.0
9 months ago
0.4.1
9 months ago
0.4.0
9 months ago
0.3.1
9 months ago
0.3.0
9 months ago
0.2.1
9 months ago
0.1.1
10 months ago
0.1.0
10 months ago