I presume this is intentional, then what is the reason?
I don't know recommended arrangements for image modules in css, but image modules kinda oftentimes start with / in projects I'm working on, which I don't see as an exceptional or a special usage in css url function.
Some people like me would need to define aliases starting with / in webpack config as well if this module is not gonna change this issue.
I came from this issue: https://github.com/dividab/tsconfig-paths-webpack-plugin/issues/87
I found that
getPathsToTry
does not resolve modules starts with the path separator of system where it runs, it makes difference in resolution between Windows and Linux. So tsconfig-paths-webpack-plugin does not try to resolve modules starting with/
on Linux whereas it does on Windows. (see https://github.com/dividab/tsconfig-paths-webpack-plugin/issues/87#issuecomment-1066303297)I presume this is intentional, then what is the reason? I don't know recommended arrangements for image modules in css, but image modules kinda oftentimes start with
/
in projects I'm working on, which I don't see as an exceptional or a special usage in css url function.Some people like me would need to define aliases starting with
/
in webpack config as well if this module is not gonna change this issue.