roxiness / routify

Automated Svelte routes
https://routify.dev
1.85k stars 86 forks source link

Suggestion: Allow ts extension in meta files #548

Open dBaliukynas opened 4 months ago

dBaliukynas commented 4 months ago

Describe the feature

Currently, meta files only work with js extension (i.e. filename.meta.js). Would be great if ts would be supported aswell (i.e., filename.meta.ts).

Examples

No response

jreuss commented 3 months ago

second this

jakobrosenberg commented 3 months ago

Thanks for the suggestion. Can you check if this is working in the latest release?

dBaliukynas commented 3 months ago

Thanks for a quick fix. When using the "ts" extension, I get this error: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts"