Skip to content

Commit

Permalink
fix: missing tiktoken_bg.wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
hacke2 committed Dec 18, 2024
1 parent aa8819f commit a17d2de
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 a17d2de

Please sign in to comment.