Skip to content

Commit

Permalink
chore: prefer browser version in rollup example
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Feb 25, 2020
1 parent 7c5cd3b commit 3d2edbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/browser-rollup/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const resolve = require('rollup-plugin-node-resolve');
const { terser } = require('rollup-plugin-terser');

const plugins = [resolve(), terser()];
const plugins = [resolve({ browser: true }), terser()];
module.exports = [
{
input: './example-all.js',
Expand Down

0 comments on commit 3d2edbc

Please sign in to comment.