Skip to content

elgohr-update/florianporada-another-webpack-boilerplate

 
 

Repository files navigation

Another Webpack Boilerplate

Build License: MIT contributions welcome

Usage

  1. git clone https://github.com/florianporada/another-webpack-boilerplate.git <project-name>
  2. cd <project-name>
  3. yarn run new
  4. yarn start

Quickstart

export PROJECT_NAME=superservice
git clone https://github.com/florianporada/another-webpack-boilerplate.git $PROJECT_NAME
cd $PROJECT_NAME
rm -rf .git
echo $PROJECT_NAME > README.md
git init -b main
git add .
git commit -m "chore: add boilerplate code"
echo "READY TO GO"

Features

  • Webpack 5
  • Tailwind 3 support
  • ES6 transpiling
  • Automatic favicon generation
  • Docker ready ...

Feature explanations

Since this boilerplate is basically a port of tris-webpack-boilerplate to webpack 5 with some new features, most of the features are explained here.


Deployment

The standard behavior of the action is to create a docker image and push it to the docker registry.

  • GitHub Actions Environment Secrets

    DOCKER_USERNAME
    DOCKER_PASSWORD
  • Skip CI:

    If the commit message contains skip ci the GitHub Action will not be triggered.

Credits

About

Another webpack boilerplate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 58.9%
  • HTML 25.2%
  • Dockerfile 7.2%
  • SCSS 4.2%
  • CSS 4.0%
  • Shell 0.5%