Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 558 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 558 Bytes

Webpack TypeScript Boilerplate

  • Node.js
  • Webpack
  • Express
  • Pug
  • TS
  • SCSS
  • jQuery
  • express-responsive-images
# clone repo
git clone https://github.com/ztomm/webpack-typescript-boilerplate.git

# cd into
cd webpack-typescript-boilerplate

# install dependencies
npm i --legacy-peer-deps

# serve in dev mode, with hot reload at localhost:3333
npm run dev:windows
// or
npm run dev:unix

# serve in production mode
npm run prod:windows
// or
npm run prod:unix

The difference between :windows and :unix is to set ENV vars properly.