lib-bundler

0.0.2 • Public • Published

lib-bundler

lib-bundler is a code bundler for bundling the js lib that it written by es6.

Usage

$ npm install lib-bundler --save-dev
var Bundler = require('lib-bundler');
 
var bundler = new Bundler({
    project: "test",
    moduleName: "test",
    author: "author",
    version: "1.0.0",
    entry: "./src/index.js",
    output: "./dist"
});
 
bundler.bundled()

Output

test.common.js
test.js
test.min.js
test.min.js.gz
test.min.js.map

Feedback

If you any questions, use Issues.

Sina Weibo: @miaowingz

License

MIT Licence.

Package Sidebar

Install

npm i lib-bundler

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • zfeng