You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.
I'd like to keep those absolute paths as they are during processing, but the fileName.charAt(0) !== '/' is overriding the result of the absUrl test, and the code falls through to code that is transforming my absolute URL into one that is relative to the tree the bundle is being built into. Is this intended behaviour? Should I be setting rootURL to something to avoid this transformation of absolute URLs? It looks like I could avoid the absolute manipulation by making the path https://hostname.com/fonts/etcetc, but I'd really rather avoid that.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm a bit confused by the consequences of this code in css-plugin-base-builder.js
I'm having trouble with absolute font paths being rewritten by the CSS plugin when bundling, so I have a font-face definition that looks like:
I'd like to keep those absolute paths as they are during processing, but the fileName.charAt(0) !== '/' is overriding the result of the absUrl test, and the code falls through to code that is transforming my absolute URL into one that is relative to the tree the bundle is being built into. Is this intended behaviour? Should I be setting rootURL to something to avoid this transformation of absolute URLs? It looks like I could avoid the absolute manipulation by making the path https://hostname.com/fonts/etcetc, but I'd really rather avoid that.
The text was updated successfully, but these errors were encountered: