Skip to content

Commit 0d18443

Browse files
committed
fix editor
1 parent 54e4199 commit 0d18443

File tree

5 files changed

+688
-1999
lines changed

5 files changed

+688
-1999
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"main": "src/index.js",
66
"type": "module",
77
"scripts": {
8-
"dev": "esbuild src/index.js --bundle --watch --outfile=public/app.js --servedir=public",
9-
"build": "esbuild src/index.js --bundle --minify --outfile=public/app.js",
8+
"dev": "esbuild src/index.js --bundle --watch --outfile=public/js/app.js --servedir=public",
9+
"build": "esbuild src/index.js --bundle --minify --outfile=public/js/app.js",
1010
"prepare": "node ./script/copy-files.js && npm run build",
1111
"postinstall": "npm run prepare",
1212
"upgrade": "npm update && npm run prepare"

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,6 @@ <h1>Litecanvas</h1>
222222
<div class="game"></div>
223223
</div>
224224

225-
<script src="app.js"></script>
225+
<script src="./js/app.js"></script>
226226
</body>
227227
</html>

0 commit comments

Comments
 (0)