Skip to content

Commit

Permalink
[build] 0.9.0
Browse files Browse the repository at this point in the history
close #70
  • Loading branch information
toxic-johann committed Jan 20, 2018
1 parent 2855e34 commit cfa50ea
Show file tree
Hide file tree
Showing 10 changed files with 625 additions and 1,086 deletions.
16 changes: 6 additions & 10 deletions build/rollup.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,18 +131,14 @@ export default function(mode) {
replace({
'process.env.PLAYER_VERSION': `'${version}'`,
}),
resolve({
customResolveOptions: {
moduleDirectory: /min|umd|iife/.test(mode) ? [ 'src', 'node_modules' ] : [ 'src' ],
},
}),
visualizer({
filename: `bundle-size/${mode}.html`,
}),
].concat(/min|umd|iife/.test(mode)
? [
resolve({
customResolveOptions: {
moduleDirectory: [ 'src', 'node_modules' ],
},
}),
]
: []
),
],
};
}
2 changes: 1 addition & 1 deletion bundle-size/common.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle-size/es.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle-size/min.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bundle-size/umd.html

Large diffs are not rendered by default.

Loading

0 comments on commit cfa50ea

Please sign in to comment.