Webpack boilerplate for Bootstrap 5 templates.
npm install
All dependencies will be downloaded to the node_modules directory.
npm start
Now you're ready to modify the source files and generate new dist/ files. File changes are automatically detected thanks to the webpack-dev-server.
npm run build
- Bundling via Webpack 5
- ES6+ Support via Babel 7
- SASS Support via sass-loader
- Linting via eslint
- Latest version of Bootstrap 5
- Vanilla JS, no jQuery dependencies
- Clean code that adheres to Bootstrap's guidelines
boilerplate/
├── .editorconfig
├── .eslintrc
├── .gitignore
├── .stylelintrc
├── README.md
├── package.json
├── webpack/
│ ├── webpack.common.js
│ ├── webpack.dev.js
│ └── webpack.prod.js
├── src/
│ ├── favicon/
│ ├── fonts/
│ ├── html/
│ ├── images/
│ ├── js/
│ │ ├── modules/
│ │ └── app.js
│ ├── partials/
│ └── scss/
│ ├── custom/
│ ├── theme/
│ └── main.scss
└── dist/
├── css/
│ └── app.css
└── js/
└── app.js