DEV Community

Discussion on: Snowpack - How it works?

Collapse
vikbert profile image
Xun Zhou

How do I uglify the js files in production?

Collapse
rajasegar profile image
Rajasegar Chandran Author • Edited on

you have to run snowpack with --optimize flag, but a lot has changed in 2.0, please refer to official docs for more info.
snowpack.dev/#snowpack-build