Skip to content

Commit

Permalink
for browser bundle, ensure process is not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
cajames committed Feb 27, 2024
1 parent a7a2c86 commit 3ccc77b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ export default [
__SDK_VERSION__: pkg.version,

// This breaks in a dex dependency, so manually replacing it.
'process.env.NODE_ENV': '"production"'
'process.env.NODE_ENV': '"production"',
'process': 'undefined'
}),
terser(),
],
Expand Down

0 comments on commit 3ccc77b

Please sign in to comment.