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 incorrectly resolved ids #178

Closed
wants to merge 2 commits into from
Closed

Fix incorrectly resolved ids #178

wants to merge 2 commits into from

Conversation

rturnq
Copy link
Contributor

@rturnq rturnq commented Nov 27, 2024

Description

This plugin potentially incorrectly resolves ids that already contain a query parameter by appending another: foo.marko?v=1234?marko-server-entry. Changes in Marko Run to write files to /node_modules/.marko surfaced this, as now those files get resolved with a version query. I'm not sure this is really the right fix (it doesn't handle any other query parameters) or if this is a symptom of a different issue.

Motivation and Context

Screenshots (if appropriate):

Checklist:

  • I have updated/added documentation affected by my changes.
  • I have added tests to cover my changes.

Copy link

changeset-bot bot commented Nov 27, 2024

🦋 Changeset detected

Latest commit: d88cc0d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@marko/vite Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@DylanPiercey DylanPiercey deleted the fix-resolve branch December 13, 2024 23:24
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 this pull request may close these issues.

2 participants