Skip to content

Commit

Permalink
fix: missing tiktoken_bg.wasm (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
hacke2 authored Dec 19, 2024
1 parent aa8819f commit 7d858a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build/webpack/webpack.renderer.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ export default createConfig((_env, argv) => {
from: require.resolve('@opensumi/ide-monaco/worker/editor.worker.bundle.js'),
to: path.join(outDir, codeWindowName, 'editor.worker.bundle.js'),
},
{
from: require.resolve('tiktoken/tiktoken_bg.wasm'),
to: path.join(outDir, codeWindowName, 'tiktoken_bg.wasm'),
},
],
}),
],
Expand Down

0 comments on commit 7d858a4

Please sign in to comment.