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
CSS imports can be absolute paths on a web server where '/styles/...' could be a valid server path, but relate to a different path on the file systme (i.e. '/public/styles/...'). Would you be open to adding the following options to solve this use case:
root: A path that is pre-pended to absolute paths used
urlTransform: a function that is called with each discovered importPath and can return an alternative import path (allows developers to use a development version of a file while working on the source but switch to an optimsed version later on).
The text was updated successfully, but these errors were encountered:
CSS imports can be absolute paths on a web server where '/styles/...' could be a valid server path, but relate to a different path on the file systme (i.e. '/public/styles/...'). Would you be open to adding the following options to solve this use case:
root
: A path that is pre-pended to absolute paths usedurlTransform
: a function that is called with each discovered importPath and can return an alternative import path (allows developers to use a development version of a file while working on the source but switch to an optimsed version later on).The text was updated successfully, but these errors were encountered: