Skip to content

Commit

Permalink
Add ESM module in package json
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Apr 29, 2024
1 parent d7f6010 commit 34de3c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/r18gs/touchup.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ if (process.env.TOKEN) {

packageJson.main = "index.js";
packageJson.types = "index.d.ts";
packageJson.module = "index.mjs";

fs.writeFileSync(
path.resolve(__dirname, "dist", "package.json"),
Expand Down

0 comments on commit 34de3c5

Please sign in to comment.