Skip to content

Commit

Permalink
use "type": "module" for all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Jun 18, 2021
1 parent 26c09e2 commit 840b3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/prepareDist.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ entryPoints.forEach(function buildPackageJson({
main: `${bundleName}.cjs.js`,
module: 'index.js',
types: 'index.d.ts',
...dirs.includes('core') && { type: "module" },
type: "module",
sideEffects: false,
}, null, 2) + "\n",
);
Expand Down

0 comments on commit 840b3ad

Please sign in to comment.