diff --git a/config/prepareDist.ts b/config/prepareDist.ts index 45ce7f07ced..d1e2feae5ef 100644 --- a/config/prepareDist.ts +++ b/config/prepareDist.ts @@ -82,7 +82,6 @@ export function prepareDist() { bundleName = dirs[dirs.length - 1], sideEffects = false, }) { - if (!dirs.length) return; fs.writeFileSync( path.join(distRoot, ...dirs, "package.json"), JSON.stringify(