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
Yes, the license has to be in the source code. So a comment like // @license MIT will work.
If you want to do something different yourself, I recommend using the metafile, which tells you which files were included in the bundle. Then you can do whatever you like with that information (e.g. looking in each package for LICENSE.md files). This can be done either as an esbuild plugin or just after calling build().
Is there a way/plugin for
esbuild
to generate a licenses compilation text file, when bundling a Javascript app ?The text was updated successfully, but these errors were encountered: