Skip to content

Vue: Remove hasDefaultExport check from appEntrypoint logic#9333

Merged
natemoo-re merged 6 commits intomainfrom
fix/vue-app
Dec 6, 2023
Merged

Vue: Remove hasDefaultExport check from appEntrypoint logic#9333
natemoo-re merged 6 commits intomainfrom
fix/vue-app

Conversation

@natemoo-re
Copy link
Member

Changes

  • Fixes Vue appEntrypoint not working #9330!
  • We used hasDefaultExport, which is a Rollup API. This is available in astro build but not during astro dev.
  • Now uses a custom method compatible with either astro dev or astro build

Testing

Our previous test suite was missing astro dev tests, leading to incompatible behavior getting merged and released.

This PR adds an astro dev test while ensuring the previous tests are still passing

Docs

Bug fix only

@changeset-bot
Copy link

changeset-bot bot commented Dec 5, 2023

🦋 Changeset detected

Latest commit: 6678e01

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

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

@github-actions github-actions bot added pkg: vue Related to Vue (scope) pkg: integration Related to any renderer integration (scope) pr: docs A PR that includes documentation for review labels Dec 5, 2023
@natemoo-re natemoo-re mentioned this pull request Dec 5, 2023
1 task
@natemoo-re natemoo-re merged commit b832cd1 into main Dec 6, 2023
@natemoo-re natemoo-re deleted the fix/vue-app branch December 6, 2023 00:38
@astrobot-houston astrobot-houston mentioned this pull request Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg: integration Related to any renderer integration (scope) pkg: vue Related to Vue (scope) pr: docs A PR that includes documentation for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vue appEntrypoint not working

2 participants