Skip to content
Kitbay
Skill

bootstrap-webpack

MITUpdated on Nov 11, 2026175,039GitHub stars

A skill from the Bootstrap repository that sets up a new project using Bootstrap 6 with Webpack.

What the skill teaches

A skill from the Bootstrap repository that sets up a new project using Bootstrap 6 with Webpack. The agent installs Webpack, its CLI, dev server and HTML plugin, the Bootstrap 6 alpha with optional Floating UI and datepicker packages, and a loader chain for Sass with PostCSS and Autoprefixer. It creates source folders and a config with an entry point, an output folder and a hot-reloading dev server, imports Bootstrap's Sass with @use, and imports all or only some of Bootstrap's JavaScript. After checking that styles and a component work, optional steps extract CSS to its own file and emit inline SVGs as files for sites with a strict content security policy.

Capabilities

  • Create a Webpack project with Bootstrap 6
  • Configure Sass, PostCSS and style loaders
  • Import only the JavaScript plugins needed
  • Extract CSS for strict content security policies