mirror of
https://github.com/palxiao/poster-design.git
synced 2025-06-08 03:19:59 +08:00
fix: puppeteer 国内安装优化
This commit is contained in:
parent
1eaab8387a
commit
b7f4bb524d
@ -4,7 +4,7 @@
|
||||
"private": true,
|
||||
"author": "ShawnPhang",
|
||||
"scripts": {
|
||||
"prepared": "npm i && cd service && npm i",
|
||||
"prepared": "npm i && cd service && PUPPETEER_DOWNLOAD_BASE_URL=https://cdn.npmmirror.com/binaries/chrome-for-testing npm i",
|
||||
"serve": "npm run dev & cd service && npm run dev",
|
||||
"dev": "cross-env NODE_ENV=development vite",
|
||||
"build": "cross-env NODE_ENV=production && vite build",
|
||||
|
Loading…
x
Reference in New Issue
Block a user