-
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
Invalid OnResolveArgs.Importer for stdin in >= 0.8.21 #736
Comments
I've got some tests that cover various cases with stdin here: esbuild/scripts/plugin-tests.js Lines 746 to 880 in ad97902
There you can see what various combinations of It looks like you should be able to get Unrelated: While I have your attention, I believe there's also a bug with Hugo's use of esbuild's API that causes Hugo to crash with a null pointer error. Details are here. It seems like an easy fix. |
Thanks; I will have a look at it. The nilpointer is fixed (I'm pretty sure ...) |
Yes, that works, and I guess the current behaviour makes sense. Closing. |
Before
0.8.21
we got the valuestdin
which is a constant I know how to handle.After
0.8.21
we get what looks like an absolute filename, but it points to a file that does not exist -- but most importantly I don't know the origin of it to resolve imports relative to it.gohugoio/hugo#8189
The text was updated successfully, but these errors were encountered: