aboutsummaryrefslogtreecommitdiff
path: root/site
diff options
context:
space:
mode:
authorJulien Déramond <[email protected]>2023-03-27 10:04:07 +0200
committerGitHub <[email protected]>2023-03-27 11:04:07 +0300
commit2bbf670fc2b230f18ba763f50498b8ee90f751c3 (patch)
treeab7ff6c292a8c0bafc69ec3c831ea168568a7be6 /site
parentd76ee2846f420768a8a3fb70a0eefc37df2d951e (diff)
downloadbootstrap-2bbf670fc2b230f18ba763f50498b8ee90f751c3.tar.xz
bootstrap-2bbf670fc2b230f18ba763f50498b8ee90f751c3.zip
Change diff file path in Webpack guide (#38339)
Diffstat (limited to 'site')
-rw-r--r--site/content/docs/5.3/getting-started/webpack.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/site/content/docs/5.3/getting-started/webpack.md b/site/content/docs/5.3/getting-started/webpack.md
index 051cbbdbb..ffad34e39 100644
--- a/site/content/docs/5.3/getting-started/webpack.md
+++ b/site/content/docs/5.3/getting-started/webpack.md
@@ -303,8 +303,8 @@ Then instantiate and use the plugin in the Webpack configuration:
After running `npm run build` again, there will be a new file `dist/main.css`, which will contain all of the CSS imported by `src/js/main.js`. If you view `dist/index.html` in your browser now, the style will be missing, as it is now in `dist/main.css`. You can include the generated CSS in `dist/index.html` like this:
```diff
---- a/webpack/dist/index.html
-+++ b/webpack/dist/index.html
+--- a/dist/index.html
++++ b/dist/index.html
@@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
@@ -322,8 +322,8 @@ Bootstrap's CSS includes multiple references to SVG files via inline `data:` URI
Configure Webpack to extract inline SVG files like this:
```diff
---- a/webpack/webpack.config.js
-+++ b/webpack/webpack.config.js
+--- a/webpack.config.js
++++ b/webpack.config.js
@@ -23,6 +23,14 @@ module.exports = {
},
module: {