-
Notifications
You must be signed in to change notification settings - Fork 153
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
Output from uglify cannot be traced #161
Comments
The problem is that For example, you can see that yt-search.min.js no longer has If you can preserve the Note that this will not be a problem for ESM because |
Note and tested case, looks like not worked well even though preserving require.
mishoo/UglifyJS#4327 (comment)
mishoo/UglifyJS#4327 (comment)
mishoo/UglifyJS#4327 (comment)
|
There is a hard-coding of the Browserify-style wrapper for the AST in https://github.com/vercel/nft/blob/master/src/utils/wrappers.ts#L111. So adjustments to the wrapper might break this detection. It may be a quick fix to handle the extra wrapping even. |
I encountered the propblem when using minfied library in next.js runtime environmennt, it coudnt be loaded property. And it looks like not the problem of uglify.
Following is the way for procedure the problem.
run nft print
print result
Change yt-search version (minified version)
run nft print
print result
Hmm, look like nothing loaded..
Related issues:
The text was updated successfully, but these errors were encountered: