Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Déramond <julien.deramond@orange.com>
  • Loading branch information
GeoSot and julien-deramond committed May 17, 2022
1 parent 74c63ce commit cba7e10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions site/content/docs/5.2/getting-started/webpack.md
Expand Up @@ -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'),
Expand Down Expand Up @@ -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'),
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit cba7e10

Please sign in to comment.