We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Along with the existing pretty print, it may be useful to support minified code output.
I assume this won't be especially difficult since you're already using syntax trees?
The text was updated successfully, but these errors were encountered:
I'm not aware of an existing Rust minifier.
The bundler currently runs rustfmt on a stringified TokenStream, which look like this:
rustfmt
TokenStream
fn main ( ) { println ! ( "Hello, world!" ) ; }
A simple way to "minify" the output would be to not run rustfmt and stringify the token stream in a way that doesn't include unnecessary whitespace.
Sorry, something went wrong.
No branches or pull requests
Along with the existing pretty print, it may be useful to support minified code output.
I assume this won't be especially difficult since you're already using syntax trees?
The text was updated successfully, but these errors were encountered: