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(cli): add vite config to framework detection #6039

Merged
merged 3 commits into from
Oct 31, 2022

Conversation

dallastjames
Copy link
Collaborator

Adds vite framework detection to hopefully help with some detection issues around svelte. Older svelte projects used the public directory, but newer ones use vite as the primary bundler which has dist as the output directory. This should also add support for other vite-based frameworks such as solidjs.

Adds vite framework detection to hopefully help with some detection issues around svelte. Older svelte projects used the public directory, but newer ones use vite as the primary bundler which has `dist` as the output directory. This should also add support for other vite-based frameworks such as solidjs.
@jcesarmobile jcesarmobile changed the title add vite config to framework detection fix(cli): add vite config to framework detection Oct 28, 2022
@jcesarmobile jcesarmobile merged commit 3796d42 into main Oct 31, 2022
@jcesarmobile jcesarmobile deleted the add-vite-framework-detection branch October 31, 2022 16:07
@piotr-cz
Copy link

Vite detection hasn't been added to tests: https://github.com/ionic-team/capacitor/blob/main/cli/test/framework-detection.spec.ts

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.

6 participants