browserify-rm-define
v0.0.1
Published
browserify transform for remove define wrap for cmd
Downloads
8
Maintainers
Readme
#browserify-rm-define
A browserify transform for support cmd to commonjs!
###Installation:
npm install browserify-rm-define
###Usage:
you can wirte like this
define(function (require, exports, module) {
module.exports = {
nice: 'xxxx'
}
});
That's all!
注意不支持一个文件有多个define包装 使用时会删除注释
####bug 反馈 [email protected]