Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 812 Bytes

File metadata and controls

39 lines (26 loc) · 812 Bytes

Webpack Boilerplate

A playground to start developing stuff using:

  • TypeScript
  • SCSS
  • HTML

Getting started

Install all dependencies.

npm install

Run development server locally. Hot reloading on changes.

npm run dev

Want to build for production and upload to Netlify, Vercel, GitHub Pages and other deployment services?

  1. Change the mode in webpack.config.js from development to production.

  2. Run build and serve scripts below:

npm run build && npm run serve

How it is processed?

  • Must npm install -D <package_name> to keep it devDependencies for local development and testing, and not distribute to the users
  • Compile for us by using webpack.config.js
  • Two processes are running:
    • dev server (delivering)
    • server build