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: base path script in head or body when present #77

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Conversation

rturnq
Copy link
Contributor

@rturnq rturnq commented Sep 20, 2023

Description

The script which sets the optional runtime base path for resources was being rendered before the doctype declaration. This change ensures the script is rendered right before the JS asset scripts are written.

Motivation and Context

Screenshots (if appropriate):

Checklist:

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

@changeset-bot
Copy link

changeset-bot bot commented Sep 20, 2023

🦋 Changeset detected

Latest commit: 53fb149

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

@codecov
Copy link

codecov bot commented Sep 20, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (4729130) 86.51% compared to head (53fb149) 86.51%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #77   +/-   ##
=======================================
  Coverage   86.51%   86.51%           
=======================================
  Files           9        9           
  Lines         534      534           
  Branches      133      133           
=======================================
  Hits          462      462           
  Misses         63       63           
  Partials        9        9           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rturnq rturnq merged commit 1058400 into main Sep 20, 2023
10 checks passed
@rturnq rturnq deleted the base-path-script branch September 20, 2023 20:39
@github-actions github-actions bot mentioned this pull request Sep 20, 2023
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.

1 participant