This is the RegExp used when finding @import statements:
/@import\s+(?:url(['"]?(.)['"]?))\s;?/gim;
The problem is that the resulting url sometimes include "double quotes", so then the browser outputs a 404 error.
It works anyway, but the error is uggly.
You can change, for example, the "(.)" part for something like ([^\")]
Thanks
This is the RegExp used when finding @import statements:
/@import\s+(?:url(['"]?(.)['"]?))\s;?/gim;
The problem is that the resulting url sometimes include "double quotes", so then the browser outputs a 404 error.
It works anyway, but the error is uggly.
You can change, for example, the "(.)" part for something like ([^\")]
Thanks