Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Output options broken in 2.x (worked in 1.x) #4

Closed
jhildenbiddle opened this issue Sep 5, 2018 · 3 comments
Closed

Output options broken in 2.x (worked in 1.x) #4

jhildenbiddle opened this issue Sep 5, 2018 · 3 comments

Comments

@jhildenbiddle
Copy link

jhildenbiddle commented Sep 5, 2018

Output options that were working fine in 1.x are no longer working in 2.x. For example:

output: {
  beautify: true,
  comments: /^!/
}

These options work fine with terser 3.8.2 directly, so all signs point to an issue with this plugin (introduced in 2.x).

Terser Test (RunKit): https://runkit.com/jhildenbiddle/5a5f810b72915300136013b2

@jhildenbiddle jhildenbiddle changed the title 2x breaks output options (worked in 1.x) Output options broken in 2.x (worked in 1.x) Sep 5, 2018
@42tg
Copy link

42tg commented Sep 11, 2018

I have issues with the 2.x versions as well, 1.0.1 works out of the box but same configuration doesnt work with 2.0.2.

@Makio64
Copy link

Makio64 commented Sep 16, 2018

same issue..

@TrySound
Copy link
Owner

Fixed in https://github.com/TrySound/rollup-plugin-terser/releases/tag/v3.0.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants