Closed RobinMalfait closed 3 days ago
This PR improves the output of the upgrade tool when we are handling imports and the import happens to be an external URL.
External URLs shouldn't and can't be upgraded, so printing an error message doesn't help the user.
Additionally, if an @import is using the url(…) function, then we skip over it and continue with the rest of the imports.
@import
url(…)
Running this on github.com/parcel-bundler/parcel
This PR improves the output of the upgrade tool when we are handling imports and the import happens to be an external URL.
External URLs shouldn't and can't be upgraded, so printing an error message doesn't help the user.
Additionally, if an
@import
is using theurl(…)
function, then we skip over it and continue with the rest of the imports.Running this on github.com/parcel-bundler/parcel