-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
support package.json type script #2506
Comments
The Edit: That said this is a warning, not an error, so you should still be able to build the package and have it do something. Warnings do not stop a build. Invalid values for the |
esbuild seems to load a file as JSON when Here's the reproduction: https://stackblitz.com/edit/esbuild-template-3mtzn8?file=build.js |
No, it wasn't. systemjs's file was incorrect.
//# sourceMappingURL=system.min.js related: systemjs/systemjs#2421 |
@evanw JSPM supports a |
Ok. This is still not a module format that either node or esbuild supports, so I think the warning is ok. And with the investigation above about the JSON parsing problems (thanks for investigating this) it sounds like esbuild isn't doing anything wrong here. So I'm going to close this issue. |
esbuild bundle systemjs
xref systemjs/systemjs#2420
The text was updated successfully, but these errors were encountered: