You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was having getting this plugin to work because I would get an error saying Error: ENOENT: no such file or directory, open '<path>', and when I inspected the file path I noticed that the output directory was in the path twice. I did some debugging and I discovered the issue is here, it tries to get the relativePath of the file name based off the publicDir, but in my case I have my publicDir disabled. So the path it was building turned out to be <projectRoot>/<outDir>/<outDir>/<fileName>.
What is expected?
Obtain the relative path of the file without relying on the publicDir.
What is actually happening?
Disabling publicDir causes outDir to appear twice in file path.
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered:
Steps to reproduce
I was having getting this plugin to work because I would get an error saying
Error: ENOENT: no such file or directory, open '<path>'
, and when I inspected the file path I noticed that the output directory was in the path twice. I did some debugging and I discovered the issue is here, it tries to get the relativePath of the file name based off the publicDir, but in my case I have my publicDir disabled. So the path it was building turned out to be<projectRoot>/<outDir>/<outDir>/<fileName>
.What is expected?
Obtain the relative path of the file without relying on the publicDir.
What is actually happening?
Disabling publicDir causes outDir to appear twice in file path.
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: