Using vp build with output caching #1928
rayvancouver
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to slowly migrate from turbo to vite plus.
I've replaced
tsdownwithvp packand now I'm trying to replacevite buildwithvp run vite-build. I need the relatively new output caching but it seems to be having issues with vp pack.Here's the agent summary:
"""
The output: ['dist/**'] config requires vite-plus ≥ 0.1.21. I verified empirically that every output-capable version (0.1.21 → latest 0.2.1) breaks vp pack's .d.ts generation for your library packages:
@repo/fh-twilio fails with [MISSING_EXPORT] "Request" is not exported by @types/express — vp pack strips the type modifier from import type { Request } from 'express' and then rejects it. The inline-type workaround doesn't help, and even 0.2.1 fails.
@repo/fh-zod / @repo/fh-db-utils got OOM-killed (137) under 0.1.24.
All three build fine under 0.1.19.
"""
Any clue? Is it a known issue or something I'm doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions