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: let vite handle resolving the config file #11

Merged
merged 4 commits into from Oct 20, 2022

Conversation

DrJume
Copy link
Contributor

@DrJume DrJume commented Oct 18, 2022

Vite provides its own config loading mechanism in build()(https://vitejs.dev/guide/api-javascript.html#build). It is possible to provide a configFile (https://vitejs.dev/guide/api-javascript.html#inlineconfig).

When configFile is undefined, it tries to resolve the default vite config paths.

There is no more need for a custom config loader.

Fixes "vite@3.1.3 breaks cypress-vite" #5

@mammadataei mammadataei merged commit bbbadf9 into mammadataei:main Oct 20, 2022
@mammadataei
Copy link
Owner

@DrJume Thanks for contribution.

@DrJume DrJume deleted the fix/vite-handles-config branch October 20, 2022 16:22
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.

None yet

2 participants