We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Trying to load metadata file generated with esbuild version 0.15.12 results in an error:
0.15.12
This is probably caused by a non compatible metadata file format in the latest versions of the esbuid:
(i.e. instead if metadata.inputs should be metadata.metafile.inputs.
metadata.inputs
metadata.metafile.inputs
The text was updated successfully, but these errors were encountered:
As a temp workaround:
const result = await build({ ...buildConfig, outfile: './bundles/web.bundle.min.js', metafile: true }).catch((e) => { console.log(e); process.exit(1); }); fs.writeFileSync('metadata.json', JSON.stringify({ inputs: result.metafile.inputs, outputs: result.metafile.outputs }));
Sorry, something went wrong.
No branches or pull requests
Trying to load metadata file generated with esbuild version
0.15.12
results in an error:This is probably caused by a non compatible metadata file format in the latest versions of the esbuid:
(i.e. instead if
metadata.inputs
should bemetadata.metafile.inputs
.The text was updated successfully, but these errors were encountered: