Skip to content
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

fix: typo in mangle options for class names and functions #167

Closed
wants to merge 1 commit into from
Closed

fix: typo in mangle options for class names and functions #167

wants to merge 1 commit into from

Conversation

kaczor6418
Copy link

Fixes #166

@CLAassistant
Copy link

CLAassistant commented May 21, 2022

CLA assistant check
All committers have signed the CLA.

@vercel
Copy link

vercel bot commented May 21, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
website ✅ Ready (Inspect) Visit Preview May 21, 2022 at 11:20PM (UTC)

Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kdy1 kdy1 closed this May 22, 2022
@kaczor6418
Copy link
Author

hmmmm, but it gives me an error if I do not change. I will prepare a repository with min code needed to reproduce this

@kaczor6418
Copy link
Author

@kdy1 please check repository I have attached to issue description

@kaczor6418
Copy link
Author

This is simply wrong.

https://github.com/swc-project/swc/blob/032d58426550f2aacbedc7301add26fa6346c8f9/crates/swc_ecma_minifier/src/option/terser.rs

It looks like flags from documentation should work, but somehow I am getting an error that such flag is unknown. I have created a repository with min code needed to reproduce this and attached in issue description.

If I am doing sth wrong in my webpack config, please let me know

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Error unknown field keepClassnames/keepFnames in swc config
3 participants