mirror of
https://github.com/prefix-dev/setup-pixi
synced 2026-05-18 05:00:13 +03:00
34 lines
623 B
JavaScript
34 lines
623 B
JavaScript
import { defineConfig } from 'tsup'
|
|
|
|
export default defineConfig({
|
|
entry: {
|
|
index: 'src/main.ts',
|
|
post: 'src/post.ts'
|
|
},
|
|
dts: false,
|
|
clean: true,
|
|
target: 'es2020',
|
|
format: 'cjs',
|
|
sourcemap: false,
|
|
platform: 'node',
|
|
minify: false,
|
|
outExtension() {
|
|
return {
|
|
js: '.js'
|
|
}
|
|
},
|
|
// need to bundle dependencies because they aren't available otherwise when run inside the action
|
|
noExternal: [
|
|
'@actions/core',
|
|
'@actions/exec',
|
|
'@actions/cache',
|
|
'@actions/io',
|
|
'@actions/tool-cache',
|
|
'handlebars',
|
|
'untildify',
|
|
'smol-toml',
|
|
'which',
|
|
'zod'
|
|
]
|
|
})
|