browserify-rm-define

0.0.1 • Public • Published

#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

Package Sidebar

Install

npm i browserify-rm-define

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • zhoujianlin