chore: 🤖 align wasi template to nodejs demo (#1814)
This commit is contained in:
parent
c321071c89
commit
6df0ca112e
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ import { instantiateNapiModule as __emnapiInstantiateNapiModule } from '@emnapi/
|
|||
import { getDefaultContext as __emnapiGetDefaultContext } from '@emnapi/runtime'
|
||||
|
||||
const __wasi = new __nodeWASI({
|
||||
version: 'preview1',
|
||||
env: process.env,
|
||||
preopens: {
|
||||
'/': __nodePath.join(__nodeURL.fileURLToPath(import.meta.url), '..'),
|
||||
|
|
Loading…
Reference in a new issue