You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to be able to control minification of the downloaded modules, specifically turning it off, as a URL flag/option.
This would allow much easier reading/debugging of the downloaded modules, allowing local patches, when necessary.
Only on/off would be fine, although more specific control would be great.
I've read through the documentation and I don't see any way to do this except running a local server with the MINIFY configuration set to false.
https://esm.sh/[email protected] # usual minified build (the default)
https://esm.sh/[email protected]?minify=on # continue to use `--minify` for the build command (equivalent to the default; optional)
https://esm.sh/[email protected]?minify=off # suppresses `--minify`
# might be useful...
https://esm.sh/[email protected]?minify=whitespace,identifiers,syntax # (maybe?) add specific `--minify-X` options to the build command
I think it would be helpful to be able to actually read the module code when trying to debug problems.
Thanks for the consideration.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
I'd like to be able to control minification of the downloaded modules, specifically turning it off, as a URL flag/option.
This would allow much easier reading/debugging of the downloaded modules, allowing local patches, when necessary.
Only on/off would be fine, although more specific control would be great.
I've read through the documentation and I don't see any way to do this except running a local server with the
MINIFY
configuration set tofalse
.The feature might look something like...
I think it would be helpful to be able to actually read the module code when trying to debug problems.
Thanks for the consideration.
The text was updated successfully, but these errors were encountered: