fis-postpackager-amdclean
v1.1.0
Published
Packed AMD File And Converts AMD Code To Standard JavaScript
Downloads
7
Maintainers
Readme
fis-postpackager-amdclean
Packed AMD File And Converts AMD Code To Standard JavaScript.
use
npm install --save fis-postpackager-amdclean
settings
fis.match('::package', {
packager: fis.plugin('map', {
'/lib/min.js': '/sdk/**.js'
}),
postpackager: [
fis.plugin('amdclean', {
config: [
{
main: '/sdk/main.js', //入口文件
release: '/lib/min.js' //输出文件
}
],
minify: true, //是否压缩
debug: true //是否打印日志
})
]
});