Closed delaneyj closed 4 years ago
It caused by the regex incorrect match the url which has '()' character.
Look like it is hard with use regex to analysis url import. Maybe we should use a postcss plugin to do it, but it will add the cost of performance.
That's the regex postcss-url
is using though...
The cause is because the url contains parens ()
)...
Describe the bug
Related to #392.
vite
works now withimport 'typeface-inter'
, howevervite build
is failing to resolve the path, it looks to be related to module paths with spaces in them.Reproduction
Within an App.vue
vite build
System Info
vite
version: 1.0.0-beta.6vue
version (fromyarn.lock
orpackage-lock.json
) 3.0.0-beta.15@vue/compiler-sfc
version 3.0.0-beta.15Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.