Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
quick-build-core
Advanced tools
#quick-build-core
seajs模块构建的核心文件
var build = require('./lib/build')({
process:function(name){
//name为当前构建的组件名称,每当此组件构建完毕时调用
},
done:function(shell){
//全部构建完毕时触发此回调
//如需终止shell,请手动调用shell.exit(-1);
},
printLog:function(){
//此处为对日志的输出处理
}
});
//构造构建参数
var params = {
root:'/build/root',//构建目录
tmp:'/build/tmp',//临时文件存放目录
inf:'/build/src',//源码目录(若为相对路径,则以临时文件夹里的组件根目录开始计算路径)
outf:'/build/dist',//输出目录(若为相对路径,则以临时文件夹里的组件根目录开始计算路径)
queue:['core','test-module','template'],//待构建目录队列
moreLog:true,//是否输出详细日志
uglify:true,//是否压缩
id:'modules'//模块前缀
};
build.start(params);
FAQs
quick构建核心
The npm package quick-build-core receives a total of 4 weekly downloads. As such, quick-build-core popularity was classified as not popular.
We found that quick-build-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.