-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
js.Build unable to resolve file in data directory #11898
Comments
So, the documentation is correct, I guess, but you need to look in ESBuild's documentation to see where that library looks for stuff. And my guess that's limited to what |
Yeah, I ran across this while verifying that #7544 will be resolved by #11894, but I was unable to reproduce the setup due to this (11898) issue. I'm going to close this, and will add a comment to 7544 to indicate the correct approach. The OP in 7544 wanted to access data.json from both JS (esBuild) and
Then in main.js
And with this setup, 7544 is definitely resolved with 11894. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The intended behavior may have changed at some point, but our documentation states:
assets/js/main.js
There no directory mounts in site config (default mounts).
This stopped working in v0.78.1.
It may just be a documentation issue.
The text was updated successfully, but these errors were encountered: