0.0.1 • Published 9 years ago
anjs-koa-middleware v0.0.1
anjs-koa-middleware
anjs-koa-middleware 动态分析angular.module 的依赖与动态加载资源
####使用
app.use(anjs(util._extend({
cwd: path.join(baseSrc,'scripts'),
isBower: true,
bowerPaths:{
bowerDirectory: getBowerPath(),
bowerJson: path.join(cwdPath,'bower.json')
},
grep: /scripts\/app\.js$/,
beforeFn: start,
src:['**/**/**/*.js','!bower_components/**/**/**/*.js']
},options.anjs || {})));
###主要api 参考anjs ####bug 反馈 zhoujianlin8@gmail.com
0.0.1
9 years ago