websitedefault
v1.0.54
Published
Minimal empty web page with Webpack 5.
Downloads
14
Readme
Layout Empty Website
(ApplicationDemo; github actions;)
Get startet with a minimal web page configured for Webpack 5 and hot reload.
Install
npx websitedefault
npm install
Start dev server (with hot reload)
npm run start
Now listening on http://localhost:8080/
Build to "dist/" folder with watch:
npm run build -- --watch
Packages
- webpack webpack-cli (Webpack)
- html-webpack-plugin (index.html)
- file-loader (*.png)
- sass-loader sass (*.scss) See also: https://webpack.js.org/loaders/sass-loader/
- mini-css-extract-plugin (Extracts CSS into separate files)
- webpack-dev-server (Dev server)