This repo is a starter kit boilerplate for new React applications using ESBuild, Typescript and ESlint.
Run:
npm install
ESbuild will serve the files in localhost:8000
.
You can also change that in the esbuild.js
config file:
...
async function serve() {
await servor({
root: serveDir,
port: 8000, // Change the port here
});
...
}
You can serve the boilerplate by running:
npm run start
Or you can build the files by running:
npm run build
The static assets (currently only the .html
file) are in the /dist
folder.
The generated build files are in /dist/build
.