-
Notifications
You must be signed in to change notification settings - Fork 400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
build --release
should generate JS without white-space
#1373
Comments
I've just created a build script for myself, but would be nice if wasm-pack did this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃挕 Feature description
The JS-wrappers generated with other build-artifacts are formatted in a way that makes them easier to debug, which is a must if using
--dev
. But this makes no sense for--release
.I understand that this "gives freedom to devs" to choose whatever minifier they need/want. But why not simply strip white-space?
The text was updated successfully, but these errors were encountered: