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

Potential conflict with .js and .ts files causing SK to ignore .js file #9501

Closed
blazzjosh opened this issue Mar 24, 2023 · 0 comments · Fixed by #9590
Closed

Potential conflict with .js and .ts files causing SK to ignore .js file #9501

blazzjosh opened this issue Mar 24, 2023 · 0 comments · Fixed by #9590
Labels
feature request New feature or request

Comments

@blazzjosh
Copy link

Describe the problem

I noticed potential conflict that may occur when both a +page.js and a +page.ts file are present in the same folder of a SK project.

It appears that SK will ignore the .js file and utilize the .ts file instead.

This can cause confusion and frustration for developers who may not be aware of this behavior and spend time attempting to troubleshoot the issue.

Screenshot 2023-03-24 at 3 03 34 AM

Describe the proposed solution

@kevmodrome recommended that there should probably be some warning for this and we all agree.
The origin story on twitter

Alternatives considered

No response

Importance

nice to have

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
2 participants