Skip to content

Commit

Permalink
chore: Split chunks into folders
Browse files Browse the repository at this point in the history
  • Loading branch information
sidharthv96 committed Aug 14, 2023
1 parent e26d987 commit 9cbebbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .esbuild/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const buildPackage = async (entryName: keyof typeof packageOptions) => {
continue;
}
const fileName = Object.keys(metafile.outputs)
.filter((file) => file.startsWith('mermaid') && file.endsWith('js'))[0]
.filter((file) => !file.includes('chunks') && file.endsWith('js'))[0]
.replace('dist/', '');
await writeFile(`stats/${fileName}.meta.json`, JSON.stringify(metafile));
}
Expand Down

0 comments on commit 9cbebbb

Please sign in to comment.