mip-processor-amd
v1.2.2
Published
MIP Processor For AMD
Downloads
2,331
Maintainers
Readme
mip-processor-amd
MIP Processor For AMD Compile and Pack
usage
var Builder = require('mip-builder');
var amdProcessor = require('mip-processor-amd');
var AMDCompiler = amdProcessor.Compiler;
var AMDPacker = amdProcessor.Packer;
var requireConfig = {
// bla bla
};
var amdCompiler = new AMDCompiler({
config: requireConfig
});
var amdPacker = new AMDPacker({
config: requireConfig,
modules: ['main']
});
var builder = new Builder({
// bla bla
processor: [
amdCompiler,
amdPacker
]
});
builder.build();