Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit c2d6515

Browse files
committed
Fix cache dir for CI builds
1 parent 612b99e commit c2d6515

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tsup.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import path from "path"
12
import { defineConfig } from "tsup"
23
import { cache } from "esbuild-plugin-cache"
34

@@ -14,5 +15,7 @@ export default defineConfig({
1415
env: {
1516
NODE_ENV: "production",
1617
},
17-
esbuildPlugins: [cache({})],
18+
esbuildPlugins: [
19+
cache({}, path.resolve(__dirname, "node_modules", ".esbuild-plugin-cache")),
20+
],
1821
})

0 commit comments

Comments
 (0)