Open muellerkyle opened 1 year ago
This looks like an excellent addition. Let me see if I can come up with a test with it; I'll add it to your PR. Thanks.
This looks like an excellent addition. Let me see if I can come up with a test with it; I'll add it to your PR. Thanks.
Is there any update on this? It would be a huge add to the project for go servers that are more complex
I ran into an issue where I was unable to get this library to find the
package.json
file from my vite project without having to make a modification.I structure my projects so that my JS source sits along side my go source, like the following:
In this configuration, supplying a JSProjectPath cannot resolve the
package.json
file in any way. But, by adding a configuration option, we can let the library know that it needs to use the path "as given" to go look for thepackage.json
file.Summary of Changes
JSInExternalDir