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.
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.