chore: switch tsup config to typescript (#9057)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Superchupu
2023-01-13 09:44:56 +00:00
committed by GitHub
parent 05a1cbfe54
commit 1831acaffb
19 changed files with 5 additions and 5 deletions

View File

@@ -15,7 +15,7 @@ export function createTsupConfig({
keepNames = true,
dts = true,
sourcemap = true,
esbuildPlugins = []
esbuildPlugins = [],
} = {}) {
return defineConfig({
entry,
@@ -32,6 +32,6 @@ export function createTsupConfig({
keepNames,
dts,
sourcemap,
esbuildPlugins
esbuildPlugins,
});
}

View File

@@ -4,7 +4,7 @@
"pipeline": {
"build": {
"dependsOn": ["^build"],
"inputs": ["../../tsconfig.json", "../../tsup.config.js", "src/**/*.ts", "tsconfig.json", "tsup.config.js"],
"inputs": ["../../tsconfig.json", "../../tsup.config.ts", "src/**/*.ts", "tsconfig.json", "tsup.config.ts"],
"outputs": ["dist/**"]
},
"@discordjs/ui#build": {
@@ -96,7 +96,7 @@
".prettierrc.json",
"tsconfig.json",
"tsconfig.eslint.json",
"tsup.config.js",
"tsup.config.ts",
"vite.config.ts"
],
"outputs": []
@@ -124,7 +124,7 @@
".prettierrc.json",
"tsconfig.json",
"tsconfig.eslint.json",
"tsup.config.js",
"tsup.config.ts",
"vite.config.ts"
],
"outputs": []