@seayoo-web/scripts 2.0.9 → 2.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -146,7 +146,7 @@ function definePageBuildConfig(option) {
146
146
  const { alias, ...resolveReset } = resolve;
147
147
  return async function({ command, mode }) {
148
148
  var _a;
149
- const justBuild = onlyBuild || command === "build";
149
+ const justBuild = onlyBuild || mode === "build";
150
150
  const envs = getBuildEnv(command, mode, justBuild);
151
151
  const gitInfo = justBuild ? null : await getCommitInfo(command, mode, envs.page, envs.deployTo || "");
152
152
  const isProductMode = mode === "production" || mode === "prod";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/scripts",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "scripts for seayoo web repos",
5
5
  "type": "module",
6
6
  "source": "index.ts",