mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-18 00:55:54 +00:00
Upgrade webpack in example
This commit is contained in:
parent
f25242bf00
commit
66fb476f36
3 changed files with 3692 additions and 3606 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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": {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue