standard-things / esm

Tomorrow's ECMAScript modules today!
Other
5.26k stars 146 forks source link

Overriding .terserrc to override compression #790

Closed CodeOtter closed 5 years ago

CodeOtter commented 5 years ago

Is there any way we can override the default .terserrc path here so we can turn off compression?

https://github.com/standard-things/esm/blob/3b5a1ea5ede7e36732d3c3194d1d19e2217122be/script/publish.js#L17

dnalborczyk commented 5 years ago

this is just for the build process of the esm module itself. would that change anything for https://github.com/standard-things/esm/issues/785 ?

to answer your question regardless:

Is there any way we can override the default .terserrc path here so we can turn off compression?

you definitely can. you pull down the repo, modify the settings, and run your own build.