diff --git a/action.yml b/action.yml index 7694ae1..40faca1 100644 --- a/action.yml +++ b/action.yml @@ -34,4 +34,4 @@ outputs: value: ${{ steps.process-inputs.outputs.build-dir }} runs: using: node20 - main: dist/index.js + main: dist/index.mjs diff --git a/dist/index.js b/dist/index.mjs similarity index 100% rename from dist/index.js rename to dist/index.mjs diff --git a/rollup.config.js b/rollup.config.js index a29777b..fc82c23 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -5,6 +5,7 @@ export default { input: "src/index.ts", output: { dir: "dist", + entryFileNames: "[name].mjs", }, plugins: [nodeResolve(), typescript()], };