chore: only build cjs for actions

This commit is contained in:
iCrawl
2022-06-04 17:08:03 +02:00
parent e17bb54c85
commit 8095723604
2 changed files with 2 additions and 2 deletions

View File

@@ -11,4 +11,4 @@ outputs:
description: 'The semver string that was extracted from this tag'
runs:
using: node16
main: ../../dist/formatTag/index.mjs
main: ../../dist/formatTag/index.js

View File

@@ -4,7 +4,7 @@ export default defineConfig({
clean: true,
dts: true,
entryPoints: ['src/index.ts', 'src/formatTag/index.ts'],
format: ['esm'],
format: ['cjs'],
minify: true,
skipNodeModulesBundle: false,
noExternal: ['@actions/core'],