Skip to content

Commit

Permalink
set new rollup format for esm
Browse files Browse the repository at this point in the history
  • Loading branch information
henrythasler committed Nov 15, 2019
1 parent feac01c commit 32a0f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const bundle = (format, filename, options = {}) => ({

export default [
bundle('cjs', pkg.main),
bundle('es', pkg.module),
bundle('esm', pkg.module),
bundle('umd', pkg.browser.replace('.min', ''), { resolve: true, stats: true }),
bundle('umd', pkg.browser, { resolve: true, minimize: true }),
];

0 comments on commit 32a0f44

Please sign in to comment.