chore: Add analyzer comment
This commit is contained in:
parent
9cbebbb8a0
commit
5c2a6b5eb1
|
@ -40,6 +40,7 @@ const buildPackage = async (entryName: keyof typeof packageOptions) => {
|
|||
const fileName = Object.keys(metafile.outputs)
|
||||
.filter((file) => !file.includes('chunks') && file.endsWith('js'))[0]
|
||||
.replace('dist/', '');
|
||||
// Upload metafile into https://esbuild.github.io/analyze/
|
||||
await writeFile(`stats/${fileName}.meta.json`, JSON.stringify(metafile));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue