Created
January 4, 2023 15:26
-
-
Save DougAnderson444/e6713334d9dff72f56421e02ef842bcf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// relevant issue: | |
https://github.com/sveltejs/kit/issues/2040 | |
npm i typescript-transform-extensions ts-patch -D | |
// tsconfig.json | |
"plugins": [ | |
{ | |
"transform": "typescript-transform-extensions", | |
"extensions": { | |
".ts": ".js" | |
} | |
} | |
] | |
// package.json | |
"scripts": { | |
"prepare": "ts-patch install -s", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment