Example EaglerForge mod template.
You can use 2 build systes, bun is for linux - macos machines, esbuild is cross platform really.
WARNING : Bun is experimental on windows
- Run
bun install
- Modify your files accordingly.
- Run
bun run build-bun
- profit
- Run
npm install -g esbuild
- Modify your files accordingly.
- Run
node run build-es
- profit ( againe )
- Dont remove
//@ts-ignore
. - Both build tasks will generate source maps and it will watch your files.