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
Could not resolve dependency #5
Comments
Thanks for the report. It looks like my remapping code for the |
@evanw hi, can we also build assets which use standard Node modules? I have these issues:
|
Good question. The output of esbuild's In my experience, projects that run in node keep the individual source files separate on disk and use |
Short answer: yes. I want to use the esbuild to build my assets for a Laravel project (it's a php framework) and produce a JS file for browsers. But I think I am applying the esbuild in a wrong place. |
esbuild/src/esbuild/resolver/resolver.go Lines 66 to 70 in 6e2d798
It seems that So, the browser field set module returns |
To add to the list of use cases of bundeling for Node.js. I currently am developing an Alfred (MacOS App) workflow. Since MacOS does not natively support node I only ask my users to install Node.js and bundle all the other dependencies so users won't have to run an Another use case for bundling Node.js would be serverless functions. However I'm running into same errors as described above
|
There is discussion about nodeJS support in #10 |
The text was updated successfully, but these errors were encountered: