Open WhiteSevs opened 1 month ago
@WhiteSevs Appreciate the work on #153
But are you sure it will work? https://github.com/lisonge/vite-plugin-monkey/pull/177/commits/6f9fe45269253c0de5958e74fac1ea1d4e7775b6#diff-0036fffb54472a55085d5e4d2279c42d2d141b7726439c8dbbed768baa2fc3a8R311
Does filePath
start with a slash?
Cuz the file URLs on windows I use are all with 3 slashes - file:///C:/...
and you only add 2.
@WhiteSevs Appreciate the work on #153
But are you sure it will work? 6f9fe45#diff-0036fffb54472a55085d5e4d2279c42d2d141b7726439c8dbbed768baa2fc3a8R311
Does
filePath
start with a slash?Cuz the file URLs on windows I use are all with 3 slashes -
file:///C:/...
and you only add 2.
没问题的,file://
可以正常使用,你可以试一下,我自己就设置成这样的
3 slashes is a correct and standard way while most software are also compatible with 2 slashes. So it's just a minor problem.
可以修复/实现以下issue https://github.com/lisonge/vite-plugin-monkey/issues/144 https://github.com/lisonge/vite-plugin-monkey/issues/153