Skip to content

Commit

Permalink
Upgrade webpack in example
Browse files Browse the repository at this point in the history
  • Loading branch information
captbaritone committed Oct 3, 2024
1 parent f25242b commit 66fb476
Show file tree
Hide file tree
Showing 3 changed files with 3,692 additions and 3,606 deletions.
2 changes: 1 addition & 1 deletion examples/webpack/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

<body>
<div id="app" style="height: 100vh"></div>
<script src="./bundle.js"></script>
<script src="./dist/main.js"></script>
</body>
</html>
6 changes: 3 additions & 3 deletions examples/webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
"description": "An example of using Webamp within a Webpack bundle",
"main": "index.js",
"scripts": {
"build": "webpack index.js -o bundle.js"
"build": "webpack ./index.js --output-path dist --mode=development"
},
"author": "",
"license": "ISC",
"dependencies": {
"webamp": "1.5.0"
},
"devDependencies": {
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0"
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
},
"prettier": {}
}
Loading

0 comments on commit 66fb476

Please sign in to comment.