Skip to content

Commit

Permalink
Disable terser until @rollup/plugin-terser ESM fix is available
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed Dec 7, 2022
1 parent 2fc3804 commit d7d36d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ export default {
commonjs(),
json(),
peggy({ cache: true }),
process.env.NODE_ENV === 'production' ? terser() : null,
// TODO: re-enable this after upgrading to @rollup/plugin-terser with fix
// for <https://github.com/rollup/plugins/issues/1366>
// process.env.NODE_ENV === 'production' ? terser() : null,
process.env.SERVE_APP ? serve({
contentBase: 'dist',
port: 8080
Expand Down

1 comment on commit d7d36d9

@jakearchibald
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rolling back to 0.1.0 works.

Please sign in to comment.