Skip to content

Commit

Permalink
implement mainFields in webpack config
Browse files Browse the repository at this point in the history
  • Loading branch information
remicolin committed Sep 27, 2024
1 parent 3ed0392 commit 0837d10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/webpack.web.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
],
},
resolve: {
mainFields: ['browser', 'module', 'main'],
extensions: ['.tsx', '.ts', '.js', '.jsx'],
fallback: {
bufferutil: false,
Expand Down

0 comments on commit 0837d10

Please sign in to comment.