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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does Babel loader beautify code automatically? #905
Comments
Babel does not try to preserve the code styles of input. If you want to preserve whitespaces, you can use |
I don't want to minify code , I just want preserve the code styles of input, i remember the lower version babel-loader will not beautify code automatically |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need help
Why does Babel loader beautify code automatically?
I want to keep it as it is. Is there any way to set it?
Webpack Version:
5.30.0
Babel Core Version:
7.13.14
Babel Loader Version:
8.2.2
Please tell us about your environment:
OSX 11
Current behavior:
Expected/desired behavior:
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem along with a gist/jsbin of your webpack configuration.
What is the expected behavior?
What is the motivation / use case for changing the behavior?
The text was updated successfully, but these errors were encountered: