Guide to disable typescript and remove dependencies #339
Replies: 2 comments 11 replies
-
In general, all you need to do is rewrite the source files from TypeScript to JavaScript. There is no need to change the configuration of the bundler. I have reviewed this template and provide a list of necessary steps to completely remove all traces of TS. Most of these steps are optional and change the configuration of the IDE, linters, CI, and so on. I have highlighted important steps. In root:
In
In
In vite-electron-builder/.nano-staged.mjs Lines 6 to 20 in 1f007c8 In
In
In
In
Maybe I missed something, so you will have to perform the further configuration yourself. I do not guarantee that this list will remain relevant in the future. Note about tests: |
Beta Was this translation helpful? Give feedback.
-
If you want I have made a fork without typescript : https://github.com/EvanBldy/vite-electron-builder |
Beta Was this translation helpful? Give feedback.
-
Any guide about it?
Humble request from a beginner to electron app, without any knowledge about typescript.
Beta Was this translation helpful? Give feedback.
All reactions