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

Possible fix for ajaxmin async javascript issue, not sure how to merge into this old project #23

Open
berendengelbrecht opened this issue Sep 20, 2024 · 1 comment

Comments

@berendengelbrecht
Copy link

There is a known issue with async javascript code in the Ajax minifier that we encountered this week. We use AjaxMin.dll in our build pipeline tooling, it would be difficult to replace. Because of that, I looked in to the issue and I think it is fixed.

As far as I could see, the newest AjaxMinDll code has only one single issue with async javascript code: "await " is output as "await;" in the minified output code. I have implemented a fix in the AjaxMinDll source files in attached zip. Now our async code works as expected.
AjaxMinDll-JavaScript-await.zip
To apply my fix, overwrite latest master files in AjaxMinDll\JavaScript with the files in my zip and recompile.

@tcsaddul
Copy link

FYI, there is new fork of AjaxMin: https://github.com/trullock/NUglify

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

No branches or pull requests

2 participants