/webpack-typescript-boilerplate

Webpack Typescript Boilerplate: Node.js, Express, Pug, TS, SCSS, jQuery, express-responsive-images

Primary LanguageTypeScript

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.