Webpack example to deal with multiple static html pages
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src add example of class transpilation on index page Jan 17, 2019
.editorconfig initial commit Aug 15, 2018
.eslintrc.js initial commit Aug 15, 2018
.gitignore
.nvmrc default node version 10 Aug 15, 2018
.travis.yml add travis deploy script Aug 16, 2018
LICENSE Create LICENSE Feb 11, 2019
README.md
package-lock.json Update clean-webpack-plugin to 1.0.1 Feb 11, 2019
package.json Update clean-webpack-plugin to 1.0.1 Feb 11, 2019
webpack.dev.js update babel to v7 and webpack deps to latest minor.patch Jan 17, 2019
webpack.prod.js update babel to v7 and webpack deps to latest minor.patch Jan 17, 2019

README.md

Static html pages with Webpack 4

Build Status

> Preview Live

This is a forkable example of static site (plain html/css/javascript) assembled with webpack.

Article explaining how this example was created: https://www.ivarprudnikov.com/static-website-multiple-html-pages-using-webpack-plus-github-example/

Build

Prerequisites

  • Node & NPM

Run locally

  • npm i - install dependencies
  • npm start - start development server

Run production build

  • npm run preview

Production

  • npm run build to prepare html, css, js files in dist/ directory

Preview deployed assets on gh-pages branch

Credits