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 builder for vite 2.7.0 #174

Merged
merged 3 commits into from
Dec 7, 2021
Merged

Fix builder for vite 2.7.0 #174

merged 3 commits into from
Dec 7, 2021

Conversation

IanVS
Copy link
Member

@IanVS IanVS commented Dec 7, 2021

Fixes #171

Also updates our examples to 2.7.0.

I also tested this change before updating the examples, and confirmed it works with vite 2.6 as well.

In Vite 2.7.0, the rollupOptions.input is resolved to an absolute path.  If we do it this way,
we can be sure to check for the same path correctly in the resolveId hook.
@IanVS IanVS requested review from eirslett and joshwooding and removed request for eirslett December 7, 2021 14:06
@IanVS IanVS merged commit 11ae9d5 into main Dec 7, 2021
@IanVS IanVS deleted the vite-2.7.0-alpha branch December 7, 2021 21:07
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.

Storybook does not build with vite 2.7.0-beta.4
2 participants