Skip to content

Commit

Permalink
Fix WebWorker support in rollup files (#2976).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed May 20, 2022
1 parent ed7e6a5 commit d06aa26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rollup-dist.config.js
Expand Up @@ -96,7 +96,7 @@ function getUmdConfig() {
name: "ethers",
sourcemap: true
},
context: "window",
context: "commonjsGlobal",
treeshake: false,
plugins
};
Expand All @@ -122,7 +122,7 @@ function getEsmConfig() {
format: "esm",
sourcemap: true
},
context: "window",
context: "commonjsGlobal",
treeshake: false,
plugins
};
Expand Down

0 comments on commit d06aa26

Please sign in to comment.