diff options
| -rw-r--r-- | site/content/docs/5.3/getting-started/webpack.md | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/site/content/docs/5.3/getting-started/webpack.md b/site/content/docs/5.3/getting-started/webpack.md index ffad34e39..bd539b891 100644 --- a/site/content/docs/5.3/getting-started/webpack.md +++ b/site/content/docs/5.3/getting-started/webpack.md @@ -115,7 +115,6 @@ With dependencies installed and our project folder ready for us to start coding, <h1>Hello, Bootstrap and Webpack!</h1> <button class="btn btn-primary">Primary button</button> </div> - <script src="./main.js"></script> </body> </html> ``` @@ -129,7 +128,7 @@ With dependencies installed and our project folder ready for us to start coding, // ... "scripts": { "start": "webpack serve", - "build": "webpack build", + "build": "webpack build --mode=production", "test": "echo \"Error: no test specified\" && exit 1" }, // ... |
