Alias setting not working on the audio tag #14596
Unanswered
jimmylee850328
asked this question in
Q&A
Replies: 1 comment
-
audio resource are not transformed into esm imports as img resources. the source code lies in https://github.com/vuejs/core/blob/main/packages/compiler-sfc/src/template/transformAssetUrl.ts#L40 we can override this behaviro by config
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm so confused why alias of "@" only work on
<img>
tagand the error is:

I'm sure I have these files

This is my
vite.config.js
Beta Was this translation helpful? Give feedback.
All reactions