fix build

This commit is contained in:
“chrisshank” 2024-12-18 15:15:48 -08:00
parent 30a31b3855
commit 09600e36e5
7 changed files with 6 additions and 8 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -18,13 +18,11 @@
"perfect-arrows": "^0.3.7",
"perfect-freehand": "^1.2.2",
"vite-plugin-wasm": "^3.3.0",
"webcola": "^3.4.0",
"webextension-polyfill": "^0.12.0"
"webcola": "^3.4.0"
},
"devDependencies": {
"@types/leaflet": "^1.9.14",
"@types/node": "^22.10.1",
"@types/webextension-polyfill": "^0.12.1",
"@webgpu/types": "^0.1.51",
"bun-types": "^1.1.38",
"mitata": "^1.0.20",

View File

@ -22,5 +22,5 @@
}
},
"include": ["**/*.ts", "vite.config.ts"],
"exclude": ["node_modules/**/*"]
"exclude": ["node_modules/**/*", "web-extension/*"]
}

View File

@ -133,7 +133,7 @@
</main>
<script type="module">
import '@lib/common/iframe-script.ts';
import '@lib/iframe-script.ts';
</script>
</body>
</html>

View File

@ -62,7 +62,7 @@
<script type="module">
import './src/record-player.ts';
import '@labs/standalone/folk-shape.ts';
import { aabbIntersection } from '@lib/common/collision.ts';
import { aabbIntersection } from '@lib/collision.ts';
let proximityDistance = 150;
const proximitySet = new Set();

View File

@ -50,7 +50,7 @@
<script type="module">
import { FolkShape } from '@labs/standalone/folk-shape.ts';
import { aabbHitDetection } from '@lib/common/collision.ts';
import { aabbHitDetection } from '@lib/collision.ts';
const shapes = Array.from(document.querySelectorAll('folk-shape, p'));

View File

@ -31,7 +31,7 @@
<script type="module">
import '@labs/standalone/folk-shape.ts';
import '@labs/standalone/folk-arrow.ts';
import '@lib/common/iframe-script.ts';
import '@lib/iframe-script.ts';
</script>
</body>
</html>