Basic Preact App

Scripts

  • npm start compiles the project and launches a web dev server on localhost:3000
  • npm run build builds the project in a dist subfolder
  • npm run analyze to see just how heavy your bundle is