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
When building an application that contains React using "legalComments": "linked" I get the following error.
"Cannot transform with linked or external legal comments".
As far as I can tell there are no linked/external legal comments. Is this something that can be fixed or is it intended and I am reading this incorrectly?
This is an error because you are not supposed to do this. Passing linked tells esbuild to generate an additional .LEGAL.txt output file, but transform mode (unlike build mode) returns a string and doesn't support returning additional generated files. So linked is incompatible with transform mode.
When building an application that contains React using
"legalComments": "linked"
I get the following error."Cannot transform with linked or external legal comments".
As far as I can tell there are no linked/external legal comments. Is this something that can be fixed or is it intended and I am reading this incorrectly?
Example repo:
https://github.com/gkiely/vite-react-starter
Steps:
The text was updated successfully, but these errors were encountered: