Skip to content

Commit 5dcc75b

Browse files
authored
fix: fix compatible with node.js esmodule (#18)
1 parent 981b2c4 commit 5dcc75b

File tree

5 files changed

+373
-8
lines changed

5 files changed

+373
-8
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"license": "MIT",
2929
"scripts": {
3030
"docs": "typedoc ./src/web/index.ts --plugin typedoc-plugin-markdown --out ./docs",
31+
"watch": "tsc -p tsconfig.json --watch",
3132
"build": "tsc -p tsconfig.json && cp -R src/basis dist",
3233
"test": "npm run test:node && npm run test:web",
3334
"test:node": "vitest run ./test/node.test.ts",
@@ -60,6 +61,7 @@
6061
"@types/react": "^18.3.18",
6162
"@types/react-dom": "^18.3.5",
6263
"@types/three": "^0.172.0",
64+
"@vitejs/plugin-react": "^4.3.4",
6365
"@vitest/browser": "^2.1.8",
6466
"@webgpu/types": "^0.1.53",
6567
"bumpp": "^9.11.1",

0 commit comments

Comments
 (0)