Closed jcoqueret closed 3 weeks ago
Hello @jcoqueret Thank you for your report.
I've run your code but didn't encounter the issue. This may happen on certain versions of Node.js. Could you please provide more information about your Node.js version and OS version?
Path: D:\temp\folder\subfolder\other-subfolder - Root: D:\
Path: D:\temp\folder\subfolder - Root: D:\
Path: D:\temp\folder - Root: D:\
Path: D:\temp - Root: D:\
Thanks!
Hi,
I was running the version 23.0.0
when I got that issue.
I tried on version 23.1.0
and 22.11.0
and it looks all good.
Thank you to figure it out where the issue was. I'll close that issue.
Hi,
I am running the sass plugin version 3.3.1 on Windows. When executing my build, the process gets stuck in the plugin by a infinite loop inside the
modulesPaths
function.The problem occurs because the
path
variable doesn't contain the ending '/' while theroot
variable does.Here a simple project to reproduce the issue: esbuild-sass-plugin-issue.zip
And here is the output of that script: