0.0.1 • Published 10 years ago

browserify-rm-define v0.0.1

Weekly downloads
1
License
MIT
Repository
gitlab
Last release
10 years ago

#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 反馈 zhoujianlin8@gmail.com

0.0.1

10 years ago