-
Notifications
You must be signed in to change notification settings - Fork 5
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
Solution to vite pulling in routes/**/*.spec.ts
#35
Labels
bug
Something isn't working
Comments
I'm happy enough with this as a solution to Vite picking up |
After further inspection, I've found that the library we're using to apply the preset, doesn't allow the modification of JS files. Therefore, I'm going to update the documentation around this issue, and raise a PR to close this one off. Cheers for the help 😄 |
rossyman
added a commit
that referenced
this issue
Jul 24, 2022
rossyman
added a commit
that referenced
this issue
Jul 24, 2022
rossyman
added a commit
that referenced
this issue
Jul 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I needed to add this package to an existing repo, violating the precondition requirement that "You must start with a fresh copy of the official SvelteKit template." I don't know if this caused my problem, but the demo
routes/index.spec.ts
bombed vite:I solved the problem by modifying
svelte.config.js
based on this SO answer. This is my new config file:I don't know if my violating the precondition requirement caused the problem, but I had an existing repo, and I needed the package.
The text was updated successfully, but these errors were encountered: