Three.js boilerplate with TypeScript and esbuild.
% git https://github.com/takenorioshima/threejs-typescript-boilerplate my-threejs-project
% cd my-threejs-project
% yarn install
% yarn build
% yarn server
Browser will open automatically and you can see rotating 3D model.
Edit src/main.ts
, then % yarn build
. Watch option(build on save) is also available with % yarn watch
.