Skip to content

Commit

Permalink
Merge pull request #1531 from rollup/gh-1530
Browse files Browse the repository at this point in the history
separate node entry from browser entry
  • Loading branch information
Rich-Harris committed Aug 11, 2017
2 parents aa2b54b + b962cf6 commit f9f389c
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions rollup.config.browser.js
Expand Up @@ -8,6 +8,7 @@ config.plugins.push({
}
});

config.entry = 'src/browser-entry.js';
config.format = 'umd';
config.dest = 'dist/rollup.browser.js';

Expand Down
2 changes: 1 addition & 1 deletion rollup.config.js
Expand Up @@ -20,7 +20,7 @@ var banner = readFileSync( 'src/banner.js', 'utf-8' )
.replace( '${commitHash}', commitHash );

export default {
entry: 'src/rollup.js',
entry: 'src/node-entry.js',
plugins: [
buble({
include: [ 'src/**', 'node_modules/acorn/**' ],
Expand Down
1 change: 1 addition & 0 deletions src/browser-entry.js
@@ -0,0 +1 @@
export { default as rollup } from './rollup/index.js';
File renamed without changes.

0 comments on commit f9f389c

Please sign in to comment.