Skip to content

Does Svelte Radar support *.js? #18

Answered by HarshKothari88
cdemi asked this question in Q&A
Discussion options

You must be logged in to vote

The current TypeScript-only support wasn't an oversight - it was an initial implementation choice to ensure robust type safety and consistent route detection during the early development phase.

Currently Svelte Radar only supports TypeScript files (.ts) for server-side logic, API endpoints, and client-side code.
This limitation is a known issue and I am actively working on adding full JavaScript support. The next release will include detection for:

+page.server.js
+server.js
+layout.js
+page.js

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cdemi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
enhancement New feature or request
2 participants