Skip to content

Starter template for React + Typescript, powered by Esbuild

License

Notifications You must be signed in to change notification settings

TheFanatr/TSX-ESBuild-Starter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TSX-ESBuild-Starter

Starter template for React and Typescript, using NPM. Based on https://github.com/belaczek/react-esbuild-starter

It provides minimal yet 🔥 blazing fast ™ development boilerplate for rapid React prototyping.

  • npm run dev Starts typescript typechecking and esbuild in watch mode, and serves web page at localhost:5000.
  • npm run start Runs build, and opens the outputted index.html with the default browser.
  • npm run build Builds production bundle for browser, outputs bundle to dist/bundle.js with source map.
  • npm clean Clean up assets produced by esbuild.

All code bundling and transpilation is handled by ESBuild. Its configuration is kept inside bundler.mjs. Follow ESBuild docs to see all supported options. The code for the development test server is also available in test-server.mjs.

Caveats

  • No output file hashing
  • No test runner

About

Starter template for React + Typescript, powered by Esbuild

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 29.2%
  • HTML 25.7%
  • JavaScript 23.9%
  • TypeScript 21.2%