Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2550e9713d | ||
|
|
4e1ca614d4 |
No files matched your search
@@ -52,6 +52,8 @@ steps:
|
||||
# pnpm-lock.yaml 被 gitignore,不能 --frozen-lockfile
|
||||
# 跳过 puppeteer 下载 Chromium(H5 构建不需要,否则会卡很久)
|
||||
- export PUPPETEER_SKIP_DOWNLOAD=1 PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=1
|
||||
# 无 lockfile 时 pnpm 默认隔离布局会导致 uni 找不到 webpack/lib/DefinePlugin;改用 hoisted
|
||||
- printf '%s\n' 'shamefully-hoist=true' 'node-linker=hoisted' >> .npmrc
|
||||
- pnpm install --no-frozen-lockfile --registry https://registry.npmmirror.com
|
||||
- pnpm run build
|
||||
- test -d dist/build/h5
|
||||
|
||||
Generated
+14958
File diff suppressed because it is too large.
Load diff
@@ -1,5 +0,0 @@
|
||||
allowBuilds:
|
||||
'@parcel/watcher': set this to true or false
|
||||
core-js: set this to true or false
|
||||
fsevents: set this to true or false
|
||||
puppeteer: set this to true or false
|
||||
Reference in new issue
Block a user