diff --git a/cli/plasmo/src/commands/build.ts b/cli/plasmo/src/commands/build.ts index 610a65f79..417aaf4f0 100644 --- a/cli/plasmo/src/commands/build.ts +++ b/cli/plasmo/src/commands/build.ts @@ -12,7 +12,7 @@ import { zipBundle } from "~features/manifest-factory/zip" async function build() { printHeader() - await checkNewVersion() + checkNewVersion() process.env.NODE_ENV = "production" diff --git a/cli/plasmo/src/commands/dev.ts b/cli/plasmo/src/commands/dev.ts index e279d067b..9270202f5 100644 --- a/cli/plasmo/src/commands/dev.ts +++ b/cli/plasmo/src/commands/dev.ts @@ -14,7 +14,7 @@ import { createManifest } from "~features/manifest-factory/create-manifest" async function dev() { printHeader() - await checkNewVersion() + checkNewVersion() process.env.NODE_ENV = "development" diff --git a/cli/plasmo/src/commands/package.ts b/cli/plasmo/src/commands/package.ts index 3d8b5006a..d61d038eb 100644 --- a/cli/plasmo/src/commands/package.ts +++ b/cli/plasmo/src/commands/package.ts @@ -9,7 +9,7 @@ import { zipBundle } from "~features/manifest-factory/zip" async function packageCmd() { printHeader() - await checkNewVersion() + checkNewVersion() process.env.NODE_ENV = "production"