Skip to content

Commit

Permalink
Fix WebWorker support in rollup files (ethers-io#2976).
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo authored and Woodpile37 committed Jan 14, 2024
1 parent a2b7d6f commit ff2eccb
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 ff2eccb

Please sign in to comment.