Skip to content

Commit e002916

Browse files
committed
get Svelte/rollup example working with v5.0.2
1 parent ff4f29d commit e002916

File tree

6 files changed

+2496
-65
lines changed

6 files changed

+2496
-65
lines changed

demo/svelte-rollup-ts/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/node_modules/
22
/public/build/
3-
/public/Box2D.wasm
3+
/public/Box2D.wasm
4+
/public/Box2D.simd.wasm

demo/svelte-rollup-ts/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,10 @@ Navigate to [localhost:4000](http://localhost:4000).
2828

2929
## Bundle for production
3030

31-
Build a production bundle into `public/build`, copy `Box2D.wasm` into `public` too:
31+
Build a production bundle into `public/build`:
3232

3333
```bash
3434
npm run build
35-
cp node_modules/box2d-wasm/build/es/Box2D.wasm public
3635
```
3736

3837
## Verify the production bundle

0 commit comments

Comments
 (0)