Skip to content

Commit 7d858a4

Browse files
authored
fix: missing tiktoken_bg.wasm (#80)
1 parent aa8819f commit 7d858a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/webpack/webpack.renderer.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,10 @@ export default createConfig((_env, argv) => {
126126
from: require.resolve('@opensumi/ide-monaco/worker/editor.worker.bundle.js'),
127127
to: path.join(outDir, codeWindowName, 'editor.worker.bundle.js'),
128128
},
129+
{
130+
from: require.resolve('tiktoken/tiktoken_bg.wasm'),
131+
to: path.join(outDir, codeWindowName, 'tiktoken_bg.wasm'),
132+
},
129133
],
130134
}),
131135
],

0 commit comments

Comments
 (0)