Skip to content

Commit

Permalink
-> 0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed May 21, 2015
1 parent d09c651 commit 99389ed
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# gobble-rollup changelog

## 0.1.1

* Upgrade rollup

## 0.1.0

* Initial release
* Initial release
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,29 @@ npm i -D gobble-rollup
```js
var gobble = require( 'gobble' );
module.exports = gobble( 'src' ).transform( 'rollup', {
// required - the file to start bundling from
// REQUIRED - the file to start bundling from
entry: 'app.js',

// where to write the file to. If omitted,
// will match the entry module's name
dest: 'bundle.js',

// what type of module to create - can be one of
// 'amd', 'cjs', 'es6', 'umd'. Defaults to 'cjs'
// 'amd', 'cjs', 'es6', 'iife', 'umd'. Defaults to 'cjs'
format: 'umd',

// if generating a 'umd' module, and the entry module
// (and therefore the bundle) has exports, specify
// a global name
globalName: 'myApp' // becomes `window.myApp`
moduleName: 'myApp', // becomes `window.myApp`

// if generated 'amd' or 'umd', you can specify a
// moduleId which will be used by AMD loaders
moduleId: 'my-app',

// set export type explicitly - 'named', 'default' or 'none'.
// By default this will be set automatically
exports: 'default'
});
```

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "gobble-rollup",
"version": "0.1.0",
"version": "0.1.1",
"description": "Bundle ES6 modules with gobble and rollup",
"author": "Rich Harris",
"license": "MIT",
"repository": "https://github.com/gobblejs/gobble-rollup",
"dependencies": {
"rollup": "^0.2.0"
"rollup": "^0.3.1"
},
"keywords": [
"gobble",
Expand Down

0 comments on commit 99389ed

Please sign in to comment.