Package Exports
- cmd-build
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cmd-build) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
cmd-build 
A commonJS conversion cmd tool
Install
Install using npm.
npm install cmd-build --save-dev
Usage
var FileBuild = require('cmd-build');
var fileBuild = FileBuild({
exportDir: "./build/", // 输入文件目录
exname: ".js", // 后缀为js文件
importFile: "", // 输入参数:可以为js文件或者目录
filePrefix: "", // define 前缀,比如说为:react, 输出为 "react/xx"
combine: false, // 是否合并为一个主文件,默认为false
compress: false, // 是否压缩,默认为false
combineFile: './build/build.js', // 合并后主文件名
combineMinFile: "./build/build-min.js" // 合并后主文件(压缩后)名
});
fileBuild.buildJs(function(){
// 执行成功操作 TODO
});