is it possible to develop and deploy plugin with typescript ts and then compile it with js?
-
When developing a nodebb plugin, is it possible to develop and deploy plugin with typescript and then compile it with js?
I have also roughly checked the nodebb core source code, and I expect that there will be no major problems if I deploy the plugin using js build after developing ts. However, is there any experience or advice on developing and distributing the nodebb plugin using ts?
https://community.nodebb.org/topic/16558/eventual-migration-to-typescript/4
https://dev.to/bhaeussermann/adding-typescript-support-to-your-nodejs-project-3bfm
https://stackoverflow.com/questions/45136831/node-js-require-main-module
-
It appears that Svelte was used when developing the acp admin dashboard part - https://github.com/NodeBB/nodebb-plugin-emoji/blob/master/acp/src/EmojiList.svelte
https://github.com/NodeBB/nodebb-plugin-emoji/blob/master/acp/rollup.config.mjs⇒ When developing acp admin dashboard, can I use [svelte, react]? What if I set the ts compile option to amd commonjs?
⇒ When developing a theme, can I use [svelte, react]? What if I set the ts compile option to amd commonjs?