Open WillsonSmith opened 1 year ago
I can't find any documentation to tell if this is like, intended behavior or not. Should I not be using @import url(...)
to load (e.g.) fonts from a CDN anyway?
Did someone found a way for this? The only way out i found is to make a local copy of the url i’m calling on the outside.
I would assume that any css called from a http url is most likely to be a cdn content.
I would says: if the import is local, bundle it, otherwise keep it as it is. Would that be an acceptable behavior?
Possibly related to https://github.com/parcel-bundler/lightningcss/issues/479
I'm attempting to import a Google fonts stylesheet with the following
The bundler throws with
I'm using
bundle
to bundle this file.Expected result: Imports from URLs should probably remain as urls and not bundle the code.
Version: