fix: Update a few more entry.js to entry.mjs paths.

This commit is contained in:
cpojer
2026-01-31 17:44:43 +09:00
parent 821ed35be1
commit 4b7406719c
5 changed files with 11 additions and 11 deletions

View File

@@ -747,7 +747,7 @@ export async function updateCommand(opts: UpdateCommandOptions): Promise<void> {
let afterVersion = beforeVersion;
if (pkgRoot) {
afterVersion = await readPackageVersion(pkgRoot);
const entryPath = path.join(pkgRoot, "dist", "entry.js");
const entryPath = path.join(pkgRoot, "dist", "entry.mjs");
if (await pathExists(entryPath)) {
const doctorStep = await runUpdateStep({
name: `${CLI_NAME} doctor`,