We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 926b9a4 commit 7cac28aCopy full SHA for 7cac28a
box2d-wasm/dist/es/entry.js
@@ -22,8 +22,8 @@ export default async (...args) => {
22
/** @type {{ 'default': import('box2d-wasm') }} */
23
const Box2DModule = await (
24
hasSIMD
25
- ? import(new URL('Box2D.simd.js', import.meta.url))
26
- : import(new URL('Box2D.js', import.meta.url))
+ ? import('./Box2D.simd.js')
+ : import('./Box2D.js')
27
);
28
const { 'default': Box2DFactory } = Box2DModule;
29
// awaiting gives us a better stack trace (at the cost of an extra microtask)
0 commit comments