File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- import { init , Wasmer , Command } from "@wasmer/sdk/dist/WasmerSDKBundled.js " ;
1
+ import { init , Wasmer , Command } from "@wasmer/sdk" ;
2
2
3
3
async function initialize ( ) {
4
4
await init ( ) ;
Original file line number Diff line number Diff line change 1
- import { init , runWasix } from "@wasmer/sdk/dist/WasmerSDKBundled.js " ;
1
+ import { init , runWasix } from "@wasmer/sdk" ;
2
2
import markdownRendererUrl from "./markdown-renderer/target/wasm32-wasi/release/markdown-renderer.wasm?url" ;
3
3
4
4
async function initialize ( ) {
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ async function main() {
13
13
// same chunk as @wasmer /sdk, each Web Worker will try to run this code and
14
14
// crash.
15
15
// See https://github.com/wasmerio/wasmer-js/issues/373
16
- const { Wasmer, init, initializeLogger } = await import ( "@wasmer/sdk/dist/WasmerSDKBundled " ) ;
16
+ const { Wasmer, init, initializeLogger } = await import ( "@wasmer/sdk" ) ;
17
17
18
18
await init ( ) ;
19
19
initializeLogger ( "debug" ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @wasmer/sdk" ,
3
3
"version" : " 0.5.1" ,
4
- "main" : " dist/WasmerSDK.cjs " ,
5
- "module " : " dist/WasmerSDK .js" ,
6
- "unpkg " : " dist/WasmerSDK.umd .js" ,
7
- "types" : " dist/WasmerSDK .d.ts" ,
4
+ "main" : " dist/WasmerSDKBundled.js " ,
5
+ "unpkg " : " dist/WasmerSDKBundled.umd .js" ,
6
+ "module " : " dist/WasmerSDKBundled .js" ,
7
+ "types" : " dist/WasmerSDKBundled .d.ts" ,
8
8
"keywords" : [
9
9
" webassembly" ,
10
10
" wasm" ,
You can’t perform that action at this time.
0 commit comments