-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
[BUG]: build target for vercel or other platform(not SSG situation) will throw error #700
Comments
Thanks for reporting. Good catch. I think I broke something. 😓 |
dai-shi
added a commit
that referenced
this issue
May 6, 2024
Solve #700 The bug was introduced in #682, the reason is that the logic of https://github.com/dai-shi/waku/pull/682/files#diff-6de2cc9d9f6423e3f4faa0cb1a6200112f1bc057af0db1a9362fe6117c51d18aR79-R82 was adjusted. I think the logic now assmues the entry file is endsWith .jsx while while the dynamic import in serve-vercel.js is endsWith .js   I am not so sure it is a correct way to remove .js extension, but I added the dry run testing, maybe it can help. --------- Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
yokos2
added a commit
to yokos2/react-yoko-portfolio
that referenced
this issue
Feb 8, 2025
Solve dai-shi/waku#700 The bug was introduced in dai-shi/waku#682, the reason is that the logic of https://github.com/dai-shi/waku/pull/682/files#diff-6de2cc9d9f6423e3f4faa0cb1a6200112f1bc057af0db1a9362fe6117c51d18aR79-R82 was adjusted. I think the logic now assmues the entry file is endsWith .jsx while while the dynamic import in serve-vercel.js is endsWith .js   I am not so sure it is a correct way to remove .js extension, but I added the dry run testing, maybe it can help. --------- Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
HondaKazuhiro
added a commit
to HondaKazuhiro/waku
that referenced
this issue
Feb 12, 2025
Solve dai-shi/waku#700 The bug was introduced in dai-shi/waku#682, the reason is that the logic of https://github.com/dai-shi/waku/pull/682/files#diff-6de2cc9d9f6423e3f4faa0cb1a6200112f1bc057af0db1a9362fe6117c51d18aR79-R82 was adjusted. I think the logic now assmues the entry file is endsWith .jsx while while the dynamic import in serve-vercel.js is endsWith .js   I am not so sure it is a correct way to remove .js extension, but I added the dry run testing, maybe it can help. --------- Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version 0.20.2-alpha.0 has a bug when you target the build platform for vercel or other platform(not SSG situation) it will throw error.
Reproduce Repo: https://github.com/PerfectPan/waku-issue-700
Error Info:
The text was updated successfully, but these errors were encountered: