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

Support rewriteRelativeImportExtensions in @sveltejs/package #13044

Open
colinlienard opened this issue Nov 22, 2024 · 0 comments
Open

Support rewriteRelativeImportExtensions in @sveltejs/package #13044

colinlienard opened this issue Nov 22, 2024 · 0 comments
Labels
feature / enhancement New feature or request pkg:svelte-package Issues related to svelte-package

Comments

@colinlienard
Copy link

Describe the problem

With the recent release of typescript 5.7 and the arrival of the rewriteRelativeImportExtensions setting, it would be nice if svelte-package could support it.

Describe the proposed solution

Rewrite .ts extensions to .js if rewriteRelativeImportExtensions is present in the tsconfig

Alternatives considered

Currrently using a script to do so

Importance

nice to have

Additional Information

Explanation of the setting: https://devblogs.microsoft.com/typescript/announcing-typescript-5-7-rc/#path-rewriting-for-relative-paths

@eltigerchino eltigerchino added feature / enhancement New feature or request pkg:svelte-package Issues related to svelte-package labels Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature / enhancement New feature or request pkg:svelte-package Issues related to svelte-package
Projects
None yet
Development

No branches or pull requests

2 participants