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

carry hook info to plugin error message #780

Closed
hardfist opened this issue Feb 10, 2021 · 1 comment
Closed

carry hook info to plugin error message #780

hardfist opened this issue Feb 10, 2021 · 1 comment

Comments

@hardfist
Copy link
Contributor

currently esbuild will carry plugin name to plugin error which is very helpful , but doesn't carry hook info with error
image

something like following would be more helpful for debugging plugin problem

 error: [memfs-plugin:onLoad] ENOENT: no such file or directory, open '/Users/admin/github/neo/packages/bundler/__tests__/fixtures/memfs/src/index.js'
@evanw evanw closed this as completed in d563697 Feb 11, 2021
@evanw
Copy link
Owner

evanw commented Feb 11, 2021

The error message should now look like this:

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

Successfully merging a pull request may close this issue.

2 participants