Skip to content

Commit

Permalink
fix(build): adapt package.json entries for better browser and ESM c…
Browse files Browse the repository at this point in the history
…ompat
  • Loading branch information
wolfy1339 committed Apr 12, 2023
1 parent 0684936 commit ffbf0ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@ async function main() {
...pkg,
files: ["dist-*/**", "bin/**"],
main: "dist-node/index.js",
module: "dist-web/index.js",
browser: "dist-web/index.js",
types: "dist-types/index.d.ts",
source: "dist-src/index.js",
module: "dist-src/index.js",
sideEffects: false,
},
null,
Expand Down

0 comments on commit ffbf0ac

Please sign in to comment.