mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-25 19:04:26 +01:00
hack imports of wasm due to the issues in Vite and Next.js build systems
This commit is contained in:
8
bindings/javascript/packages/wasm-runtime/runtime.js
Normal file
8
bindings/javascript/packages/wasm-runtime/runtime.js
Normal file
@@ -0,0 +1,8 @@
|
||||
export {
|
||||
instantiateNapiModuleSync,
|
||||
instantiateNapiModule,
|
||||
MessageHandler,
|
||||
} from '@emnapi/core'
|
||||
export { getDefaultContext } from '@emnapi/runtime'
|
||||
export * from '@tybys/wasm-util'
|
||||
export { createOnMessage, createFsProxy } from './fs-proxy.js'
|
||||
Reference in New Issue
Block a user