Skip to content

Commit

Permalink
feat: try umd
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjosephprice committed Feb 27, 2024
1 parent e0d37fa commit ae038b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ const browserConfig = merge(getConfig({ target: 'web' }), {
umd: 'react-dom',
},
},
output: {
library: {
type: 'umd',
},
},
resolve: {
fallback: {
buffer: require.resolve('buffer'),
Expand Down

0 comments on commit ae038b1

Please sign in to comment.