-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Is transform
still supported in the version 3?
#1949
Comments
It is intentional only in the sense that we are aiming to reduce the API surface area with UglifyJS 3. Feel free to submit a PR to export |
I also noticed that we never had any documentation for |
@alexlamsl There is some documentation on my website: TreeWalker and TreeTransformer. Unless there is a good reason to break or hide these API-s, I'd like them to stay… |
@mishoo noted - will add that one-liner to expose Those APIs haven't changed at all from |
- link to existing documentation on `TreeWalker` & `TreeTransformer` - fix Travis build failures fixes mishoo#1949
Is
UglifyJS.transform
andTreeTransformer
(see lisperator.net) still supported in the version 3, or was it removed in #1872? It specifically mentionswalk
as supported, but there is no mention about transform:I am using
transform
heavily and after upgrading to 3 it seems not working to me. It may be because I do something wrong (I am using UglifyJS from Scala.js, therefore the things are not straightforward for me). Walker works for me fine.Before I inspect this in more detail, may I ask if
transform
removal was intentional?The text was updated successfully, but these errors were encountered: