Skip to content

Commit

Permalink
Update rollup configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Avaq committed Dec 30, 2017
1 parent 5c39d9a commit 332fb85
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
7 changes: 5 additions & 2 deletions rollup.config.dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ export default {
input: 'index.cjs.js',
plugins: [node(), commonjs({include: 'node_modules/**'})],
banner: banner,
name: 'Fluture',
output: {format: 'iife', file: 'dist/bundle.js'}
output: {
format: 'iife',
name: 'Fluture',
file: 'dist/bundle.js'
}
};
9 changes: 6 additions & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ var dependencies = {
export default {
input: 'index.cjs.js',
external: Object.keys(dependencies),
globals: dependencies,
name: 'Fluture',
output: {format: 'umd', file: pkg.main}
output: {
format: 'umd',
file: pkg.main,
name: 'Fluture',
globals: dependencies
}
};

0 comments on commit 332fb85

Please sign in to comment.