Webpack 5 starter kit
Webpack 5 with webpack-dev-server configuration (and Web Components).
npm install -g w5kit-cli
w5kit
Vanilla JS
git clone https://github.com/king-prawns/webpack5-starter-kit.git [your-app-name]
Remove the .git folder and change details within:
package.json
src/manifest.json
$ cd your-app-name
$ yarn
# Runs development server (Webpack dev server)
$ yarn dev
# Build command
$ yarn build
# Lint with ESLint
$ yarn lint
# Run Flow
$ yarn flow
# Run unit tests (ava + instanbul)
$ yarn test
# Runs http-server on port 8082
$ yarn httpserver