From 48d83acd958dae62e73701aad20a5b5844a3bf45 Mon Sep 17 00:00:00 2001 From: Christoph Witzko Date: Sun, 18 Feb 2024 17:27:30 +0100 Subject: [PATCH] fix: use mjs --- action.yml | 2 +- dist/{index.js => index.mjs} | 0 package.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename dist/{index.js => index.mjs} (100%) diff --git a/action.yml b/action.yml index c37ccc1..b09ceb8 100644 --- a/action.yml +++ b/action.yml @@ -58,4 +58,4 @@ outputs: description: 'the generated release changelog' 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/package.json b/package.json index cb31276..db37331 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "test": "eslint src/** && tsc --noEmit ./src/index.ts", "fix": "eslint --fix src/**", - "build": "bun build ./src/index.js --target=node --outfile=dist/index.js", + "build": "bun build ./src/index.js --target=node --outfile=dist/index.mjs", "prepare": "husky" }, "license": "MIT",