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

Set vite appType to "custom" #453

Merged
merged 1 commit into from Jul 21, 2022
Merged

Set vite appType to "custom" #453

merged 1 commit into from Jul 21, 2022

Conversation

IanVS
Copy link
Member

@IanVS IanVS commented Jul 21, 2022

Fixes #446

To test this out, clone https://github.com/SamuelPoulin/vite-react-typescript-storybook-minimal and install dependencies, make this change in node_modules, and verify that yarn storybook launches storybook and not the app.

This is a new setting that was added in Vite 3: https://vitejs.dev/config/shared-options.html#apptype.

@IanVS IanVS requested a review from joshwooding July 21, 2022 02:05
@joshwooding joshwooding merged commit ab8ccdc into main Jul 21, 2022
@joshwooding joshwooding deleted the issue/446-appType branch July 21, 2022 07:27
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.

[Bug] Adding builder-vite to main config file launches actual app instead of playground
2 participants