mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03:31 +01:00
chore: only build cjs for actions
This commit is contained in:
@@ -11,4 +11,4 @@ outputs:
|
|||||||
description: 'The semver string that was extracted from this tag'
|
description: 'The semver string that was extracted from this tag'
|
||||||
runs:
|
runs:
|
||||||
using: node16
|
using: node16
|
||||||
main: ../../dist/formatTag/index.mjs
|
main: ../../dist/formatTag/index.js
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export default defineConfig({
|
|||||||
clean: true,
|
clean: true,
|
||||||
dts: true,
|
dts: true,
|
||||||
entryPoints: ['src/index.ts', 'src/formatTag/index.ts'],
|
entryPoints: ['src/index.ts', 'src/formatTag/index.ts'],
|
||||||
format: ['esm'],
|
format: ['cjs'],
|
||||||
minify: true,
|
minify: true,
|
||||||
skipNodeModulesBundle: false,
|
skipNodeModulesBundle: false,
|
||||||
noExternal: ['@actions/core'],
|
noExternal: ['@actions/core'],
|
||||||
|
|||||||
Reference in New Issue
Block a user