Replies: 2 comments
-
https://rustdoc.swc.rs/swc/config/struct.JscConfig.html#structfield.minify |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ah so the Config.minify bool will enable or disable minifying while the JscConfig minify customizes minifying. Definitely missed that. Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I couldn't find a way to achieve the Compiler.minify's minify and mangle params with process_js.
Would the correct approach be to use TransformOutput.code to create an
Arc<SourceFile>
and callCompiler.minify
afterprocess_js
?Beta Was this translation helpful? Give feedback.
All reactions