fix(rapier2d): fix external config path mismatch in tsup

This commit is contained in:
yhh
2025-12-31 13:24:55 +08:00
parent 71e111415f
commit 10d0fb1d5c

View File

@@ -6,7 +6,7 @@ export default defineConfig({
dts: true,
sourcemap: true,
clean: true,
external: ["../pkg/rapier_wasm2d.js"],
external: [/\.\.\/pkg\/rapier_wasm2d/],
loader: {
".wasm": "base64",
},