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

external hash url break amd library #17464

Closed
underfin opened this issue Jul 6, 2023 · 2 comments · Fixed by #17466
Closed

external hash url break amd library #17464

underfin opened this issue Jul 6, 2023 · 2 comments · Fixed by #17466
Labels

Comments

@underfin
Copy link

underfin commented Jul 6, 2023

Bug report

What is the current behavior?

Input

new URL("#hash", import.meta.url)

Output

define(["#hash"], function(){})

The amd output will generate '#hash' as exteranl module, it is is error behavior.

What is the expected behavior?

Don't external hash url at amd library. I think #17116 is a bad fix, maybe we should debugger into original error and fix it.

Other relevant information:
webpack version:
Node.js version:
Operating System:
Additional tools:

@webpack-bot
Copy link
Contributor

This issue had no activity for at least three months.

It's subject to automatic issue closing if there is no activity in the next 15 days.

@webpack-bot
Copy link
Contributor

Issue was closed because of inactivity.

If you think this is still a valid issue, please file a new issue with additional information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants