fex-team / fis3

FIS3
http://fis.baidu.com
BSD 2-Clause "Simplified" License
2.79k stars 694 forks source link

fis3能用node方式使用吗? #1055

Open lengjing opened 7 years ago

lengjing commented 7 years ago

类似webpack那样可以 require('webpack') fis能做成那样的吗?

wjboy commented 6 years ago

我现在在gulpfile.js文件中 var child_process = require("child_process"); gulp.task('testA', function(cb){ child_process.execSync('fis3 release testA -d ./testA'); });

编译的时候执行gulp testA