Skip to content

Commit

Permalink
Update site/content/docs/5.2/customize/optimize.md
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Otto <otto@github.com>
  • Loading branch information
julien-deramond and mdo committed Jun 4, 2022
1 parent b4b4bd0 commit bdf0142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/content/docs/5.2/customize/optimize.md
Expand Up @@ -19,7 +19,7 @@ If you're not using a component, comment it out or delete it entirely. For examp

Bootstrap's JavaScript includes every component in our primary dist files (`bootstrap.js` and `bootstrap.min.js`), and even our primary dependency (Popper) with our bundle files (`bootstrap.bundle.js` and `bootstrap.bundle.min.js`). While you're customizing via Sass, be sure to remove related JavaScript.

For instance, assuming you're using your own JavaScript bundler like Webpack, Parcel or Vite, you'd only import the JavaScript you plan on using. In the example below, we show how to just include our modal JavaScript:
For instance, assuming you're using your own JavaScript bundler like Webpack, Parcel, or Vite, you'd only import the JavaScript you plan on using. In the example below, we show how to just include our modal JavaScript:

<!-- eslint-skip -->
```js
Expand Down

0 comments on commit bdf0142

Please sign in to comment.