Skip to content

Commit

Permalink
fix: tiktoken webpack (#4143)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricbet authored Nov 4, 2024
1 parent c24cd87 commit df6e816
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/cli-engine/configs/webpack.config.browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ module.exports = {
fs: false,
},
},
experiments: {
asyncWebAssembly: true, // 启用 WebAssembly 支持
},
bail: true,
mode: nodeEnv,
devtool: false,
Expand Down

0 comments on commit df6e816

Please sign in to comment.