Skip to content

Commit

Permalink
fix browser builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Sep 3, 2018
1 parent c48eb5a commit 9f7aa99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ const config = (file, plugins) => ({
plugins
});

const bubleConfig = {transforms: {dangerousForOf: true}};

export default [
config('delaunator.js', [buble()]),
config('delaunator.min.js', [terser(), buble()])
config('delaunator.js', [buble(bubleConfig)]),
config('delaunator.min.js', [terser(), buble(bubleConfig)])
];

0 comments on commit 9f7aa99

Please sign in to comment.