-
I have a huge dependency, and it also provides a min version, so I would rather copy it when building. Because of that, I have to resolve package name imported in codes: // code
import * as A from 'lib-a' // after resolved
import * as A from './libs/lib-a/index.js' It seems I cannot use |
Beta Was this translation helpful? Give feedback.
Answered by
s3xysteak
Oct 31, 2024
Replies: 1 comment
-
Just find out |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
s3xysteak
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just find out
enforce: 'pre'
+resolveId
can do that 😳