@liujitcn/kratos-uni-app-cli 0.0.53 → 0.0.55
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.
- package/package.json +1 -1
- package/src/index.mjs +1 -1
package/package.json
CHANGED
package/src/index.mjs
CHANGED
|
@@ -109,7 +109,7 @@ H5 通过局域网 IP 访问时,先在仓库根目录运行 bash scripts/gener
|
|
|
109
109
|
'node -e "import(\'@liujitcn/kratos-uni-app-core/vite\').then(({ recoverStalePageTransaction }) => recoverStalePageTransaction())"',
|
|
110
110
|
'dev:h5': 'pnpm run recover:pages && uni --mode development-h5',
|
|
111
111
|
'dev:mp-weixin': 'pnpm run recover:pages && uni -p mp-weixin --mode development',
|
|
112
|
-
'build:h5': `pnpm run recover:pages && UNI_OUTPUT_DIR=${options.kratosProject ? '../../../../backend/
|
|
112
|
+
'build:h5': `pnpm run recover:pages && UNI_OUTPUT_DIR=${options.kratosProject ? '../../../../backend/web/uni-app' : 'dist/build/h5'} uni build --mode production-h5`,
|
|
113
113
|
'build:mp-weixin': 'pnpm run recover:pages && uni build -p mp-weixin --mode production',
|
|
114
114
|
tsc: 'vue-tsc --noEmit -p tsconfig.json',
|
|
115
115
|
},
|