Minimalistic Starter-kit for building SPA with Webpack.
git clone https://github.com/WebDevArchive/Webpack4SPA.git cd Webpack4SPA npm install
npm run build: production build without devtools (+ minification)
npm run dev: development build with Hot Module Replacement (+ watch)
npm run test: start tests with Selenium (take screenshot for example)
- Scss and Babel preprocessing (es2015 preset)
- Generating index.html from index.html.ejs - content of package.json is avaliable (name, version, etc)
- Hot Module Replacement
- Notifications (for builds)
- Selenium tests (see example in app/test)
You are welcome.