Do not manually bundle

This commit is contained in:
Joseph Garrone
2024-05-19 04:21:35 +02:00
parent a28a1531d9
commit 59f8119047
3 changed files with 9 additions and 22 deletions

View File

@ -37,7 +37,11 @@ fs.writeFileSync(
)
);
fs.cpSync(pathJoin(rootDirPath, "src"), pathJoin(rootDirPath, "dist", "src"), { "recursive": true });
const destSrcDirPath = pathJoin(rootDirPath, "dist", "src");
fs.rmSync(destSrcDirPath, { "recursive": true, "force": true });
fs.cpSync(pathJoin(rootDirPath, "src"), destSrcDirPath, { "recursive": true });
const commonThirdPartyDeps = (() => {
// For example [ "@emotion" ] it's more convenient than