Upgrade webpack in example

This commit is contained in:
Jordan Eldredge 2024-10-02 21:25:35 -07:00
parent f25242bf00
commit 66fb476f36
3 changed files with 3692 additions and 3606 deletions

View file

@ -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>

View file

@ -4,7 +4,7 @@
"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",
@ -12,8 +12,8 @@
"webamp": "1.5.0"
},
"devDependencies": {
"webpack": "^4.29.6",
"webpack-cli": "^3.3.0"
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4"
},
"prettier": {}
}

7290
yarn.lock

File diff suppressed because it is too large Load diff