Skip to content

Commit

Permalink
admin: updated rollup config for explicit ESM order
Browse files Browse the repository at this point in the history
  • Loading branch information
ricmoo committed May 18, 2023
1 parent c845357 commit 50ffd59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rollup.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function getConfig(opts) {
if (opts == null) { opts = { }; }

const file = `./dist/ethers${ (opts.suffix || "") }.js`;
const exportConditions = [ "default", "module", "import" ];
const exportConditions = [ "import", "default" ];
const mainFields = [ "module", "main" ];
if (opts.browser) { mainFields.unshift("browser"); }

Expand Down

0 comments on commit 50ffd59

Please sign in to comment.