Fix WebWorker support in rollup files (#2976).
This commit is contained in:
parent
ed7e6a500e
commit
d06aa26d74
@ -96,7 +96,7 @@ function getUmdConfig() {
|
||||
name: "ethers",
|
||||
sourcemap: true
|
||||
},
|
||||
context: "window",
|
||||
context: "commonjsGlobal",
|
||||
treeshake: false,
|
||||
plugins
|
||||
};
|
||||
@ -122,7 +122,7 @@ function getEsmConfig() {
|
||||
format: "esm",
|
||||
sourcemap: true
|
||||
},
|
||||
context: "window",
|
||||
context: "commonjsGlobal",
|
||||
treeshake: false,
|
||||
plugins
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user