Browse Source

deployment junk

main
Gwen Pasquarello 2 years ago
parent
commit
6ac318bf7a
  1. 2
      index.html
  2. 2
      main.js
  3. 2
      package.json

2
index.html

@ -8,6 +8,6 @@
</head>
<body oncontextmenu="return false">
<p>Left Click: add powder | Middle Click: add water | Right Click: add fire | no sounds yet </p>
<script src="./main.js"></script>
<script src="main.js"></script>
</body>
</html>

2
main.js

@ -3,7 +3,7 @@ new p5();
//import * as Tone from "tone";
// unhinged parcel workaround
const sandURL = require("./sounds/sand.mp3");
//const sandURL = require("./sounds/sand.mp3");
const sounds = new Map();

2
package.json

@ -6,7 +6,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "parcel index.html",
"build": "parcel build index.html"
"build": "parcel build --public-url \"/sandGame\" index.html"
},
"repository": {
"type": "git",

Loading…
Cancel
Save