Example EaglerForge mod template. ( too crazy to think )
You can use 3 build systems, bun is for linux - macos machines, esbuild/webpack is cross platform really.
- Run
npm i
- Modify your files accordingly.
- Run
npm run build
WARNING : Bun is experimental on windows
- Run
npm install -g bun
- Run
bun install
- Modify your files accordingly.
- Run
bun run build-bun
- profit
- Run
npm install -g esbuild
- Modify your files accordingly.
- Run
npn run build-es
- profit ( again )
- All build tasks will generate source maps and only the 2 and 3 build task will watch your files.