You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 11, 2023. It is now read-only.
background: In setting up a sapper project I needed to scrub many github issues and example repos to be able to create a setup which enabled me to author typescript in my project.
The goal of this issue would be to provide a well-lit-path for adding typescript to a sapper project that would be offered as a supported path when setting up a sapper project. I have outlined the changes I needed to make to accomplish this as follows:
Changes required to add typescript to a sapper project
Scope of the documentation
enable users to author in typescript inside of .svelte files via <script type="text/typescript">
enable users to import typescript into a svelte file (which will recompile on change).
background: In setting up a sapper project I needed to scrub many github issues and example repos to be able to create a setup which enabled me to author typescript in my project.
The goal of this issue would be to provide a well-lit-path for adding typescript to a sapper project that would be offered as a supported path when setting up a sapper project. I have outlined the changes I needed to make to accomplish this as follows:
Changes required to add typescript to a sapper project
Scope of the documentation
.svelte
files via<script type="text/typescript">
Steps
package.json
rollup.config.js
+ import typescript from '@rollup/plugin-typescript'
in both
client.plugins
andserver.plugins
+ typescript(),
The text was updated successfully, but these errors were encountered: