Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 442 Bytes

File metadata and controls

17 lines (13 loc) · 442 Bytes

NodeJS development template

Simple template using vite to run, test, bundle node app.

  • configure node app with vite
  • runs dev server with vite, supports HMR(Hot Module Reload).
  • bundles to dist/index.js

Creating new node project

git clone https://github.com/hanool/vite-node-template --depth 1 --branch main your-path-to-project
cd your-path-to-project
rm -rf .git

Run, Test, Build

Check scripts from package.json.