From cba7e1030fe0f234cd6d0698c7dc1999a6513b44 Mon Sep 17 00:00:00 2001 From: GeoSot Date: Wed, 18 May 2022 01:24:14 +0300 Subject: [PATCH] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Julien Déramond --- site/content/docs/5.2/getting-started/webpack.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/site/content/docs/5.2/getting-started/webpack.md b/site/content/docs/5.2/getting-started/webpack.md index e7dfc79a6dc0..0370c485e33d 100644 --- a/site/content/docs/5.2/getting-started/webpack.md +++ b/site/content/docs/5.2/getting-started/webpack.md @@ -81,7 +81,7 @@ With dependencies installed and our project folder ready for us to start coding, const path = require('path') module.exports = { - entry: './src/js/index.js', + entry: './src/js/main.js', output: { filename: 'main.js', path: path.resolve(__dirname, 'dist'), @@ -148,7 +148,7 @@ Importing Bootstrap into Webpack requires the loaders we installed in the first const path = require('path') module.exports = { - entry: './src/js/index.js', + entry: './src/js/main.js', output: { filename: 'main.js', path: path.resolve(__dirname, 'dist'), @@ -199,7 +199,7 @@ Importing Bootstrap into Webpack requires the loaders we installed in the first @import "~bootstrap/scss/bootstrap"; ``` - And then add the following to `src/js/index.js` to load the CSS and import all of Bootstrap's JS. Popper will be imported automatically through Bootstrap. + And then add the following to `src/js/main.js` to load the CSS and import all of Bootstrap's JS. Popper will be imported automatically through Bootstrap. ```js // Import our custom CSS