From f58c9c505aa7cafe1b1611e2bb5cc3f08f7352c0 Mon Sep 17 00:00:00 2001 From: Louis-Maxime Piton Date: Fri, 25 Oct 2024 09:54:58 +0200 Subject: [PATCH] fix(review) --- .bundlewatch.config.json | 4 ++-- scss/bootstrap-debugger.scss | 8 ++++++-- site/content/docs/5.3/getting-started/contents.md | 2 +- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.bundlewatch.config.json b/.bundlewatch.config.json index 318e921bb6bb..92d96957d530 100644 --- a/.bundlewatch.config.json +++ b/.bundlewatch.config.json @@ -2,11 +2,11 @@ "files": [ { "path": "./dist/css/bootstrap-debugger.css", - "maxSize": "32.5 kB" + "maxSize": "0.75 kB" }, { "path": "./dist/css/bootstrap-debugger.min.css", - "maxSize": "30.25 kB" + "maxSize": "0.75 kB" }, { "path": "./dist/css/bootstrap-grid.css", diff --git a/scss/bootstrap-debugger.scss b/scss/bootstrap-debugger.scss index 078006c1316a..4005ab759141 100644 --- a/scss/bootstrap-debugger.scss +++ b/scss/bootstrap-debugger.scss @@ -1,3 +1,7 @@ -$enable-debugger-classes: true; // stylelint-disable-line scss/dollar-variable-default +$enable-debugger-classes: true !default; -@import "bootstrap"; +@import "functions"; +@import "variables"; +@import "mixins"; + +@import "debug"; diff --git a/site/content/docs/5.3/getting-started/contents.md b/site/content/docs/5.3/getting-started/contents.md index bd069d9441a4..62b3c57acc5b 100644 --- a/site/content/docs/5.3/getting-started/contents.md +++ b/site/content/docs/5.3/getting-started/contents.md @@ -80,7 +80,7 @@ Bootstrap includes a handful of options for including some or all of our compile | CSS files | Layout | Content | Components | Utilities | | --- | --- | --- | --- | --- | | `bootstrap.css`
`bootstrap.min.css`
`bootstrap.rtl.css`
`bootstrap.rtl.min.css` | Included | Included | Included | Included | -| `bootstrap-debugger.css`
`bootstrap-debugger.rtl.css`
`bootstrap-debugger.min.css`
`bootstrap-debugger.rtl.min.css` | Included (with debug classes) | Included | Included | Included | +| `bootstrap-debugger.css`
`bootstrap-debugger.rtl.css`
`bootstrap-debugger.min.css`
`bootstrap-debugger.rtl.min.css` | [Only debug classes]({{< docsref "/customize/options" >}}) | — | — | — | | `bootstrap-grid.css`
`bootstrap-grid.rtl.css`
`bootstrap-grid.min.css`
`bootstrap-grid.rtl.min.css` | [Only grid system]({{< docsref "/layout/grid" >}}) | — | — | [Only flex utilities]({{< docsref "/utilities/flex" >}}) | | `bootstrap-utilities.css`
`bootstrap-utilities.rtl.css`
`bootstrap-utilities.min.css`
`bootstrap-utilities.rtl.min.css` | — | — | — | Included | | `bootstrap-reboot.css`
`bootstrap-reboot.rtl.css`
`bootstrap-reboot.min.css`
`bootstrap-reboot.rtl.min.css` | — | [Only Reboot]({{< docsref "/content/reboot" >}}) | — | — |