Closed MatthewCash closed 1 year ago
OpenAsar's CSS imports are processed by the browser, which has a few limitations:
text/css
raw.githubusercontent.com
This adds a new function to recursively resolve CSS imports from NodeJS using fs.readFile and the http(s) modules, removing the previous limitations.
fs.readFile
http(s)
Thanks, but I would prefer to keep the code intentionally simple and not have this logic.
Fair enough
OpenAsar's CSS imports are processed by the browser, which has a few limitations:
text/css
MIME type (such asraw.githubusercontent.com
) cannot be importedThis adds a new function to recursively resolve CSS imports from NodeJS using
fs.readFile
and thehttp(s)
modules, removing the previous limitations.