Skip to content

Commit

Permalink
build: bundle file with .mjs extension
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal committed Aug 9, 2024
1 parent 0db34f4 commit 9ba82c0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ inputs:
default: ${{ github.token }}
runs:
using: node20
main: dist/index.js
main: dist/index.mjs
File renamed without changes.
1 change: 1 addition & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default {
input: "src/index.ts",
output: {
dir: "dist",
entryFileNames: "[name].mjs",
},
plugins: [commonjs(), json(), nodeResolve(), typescript()],
};

0 comments on commit 9ba82c0

Please sign in to comment.