Skip to content

Commit

Permalink
新增 ugc 函数
Browse files Browse the repository at this point in the history
  • Loading branch information
xilanhuaweidapao committed Jan 19, 2024
1 parent 8e1b237 commit 07413e9
Show file tree
Hide file tree
Showing 52 changed files with 82,407 additions and 4 deletions.
8 changes: 7 additions & 1 deletion build/webpack.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ module.exports = {

//其它解决方案配置
resolve: {
extensions: ['.js', '.json', '.css']
extensions: ['.js', '.json', '.css'],
fallback: {
fs: false,
path: require.resolve("path-browserify"),
crypto: require.resolve("crypto-browserify"),
stream: require.resolve("stream-browserify")
}
},

externals: {
Expand Down
Binary file added dist/mapboxgl/UGCWasmAll.wasm
Binary file not shown.
Loading

0 comments on commit 07413e9

Please sign in to comment.