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

fix: cannot recognize JS url correctly(#3568) #3572

Merged
merged 2 commits into from
May 29, 2021
Merged

Conversation

Claiyre
Copy link
Contributor

@Claiyre Claiyre commented May 28, 2021

Description

fix util-isJSRequest function cannot recognize JS url correctly(#3568). That will lead to internal error when visit devserver url with query string ending with '.js'. see issue3568.

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

packages/vite/src/node/utils.ts Outdated Show resolved Hide resolved
@Shinigami92 Shinigami92 added the p3-minor-bug An edge case that only affects very specific usage (priority) label May 28, 2021
@Shinigami92
Copy link
Member

Could you add a test for that to prevent regression?

@antfu antfu merged commit ab08652 into vitejs:main May 29, 2021
ygj6 pushed a commit to ygj6/vite that referenced this pull request Jun 1, 2021
Co-authored-by: mayingying1 <mayingying1@corp.netease.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants