build(playground): dev playgournd时项目启动时runtime加载失败

re #539
This commit is contained in:
roymondchen 2023-10-31 14:14:46 +08:00
parent 7d1bd60ea8
commit 1876ccb377
3 changed files with 3 additions and 4 deletions

View File

@ -4,7 +4,7 @@
"type": "module",
"private": true,
"scripts": {
"dev:react": "npm run build:libs && vite --config dev.vite.config.ts",
"dev:react": "vite --config dev.vite.config.ts",
"dev:playground": "vite --config dev.vite.config.ts",
"build": "npm run build:libs && npm run build:page && npm run build:playground",
"build:page": "vite build --config build.vite.config.ts --mode page",

View File

@ -4,7 +4,7 @@
"type": "module",
"private": true,
"scripts": {
"dev:vue2": "npm run build:libs && vite --config dev.vite.config.ts",
"dev:vue2": "vite --config dev.vite.config.ts",
"dev:playground": "vite --config dev.vite.config.ts",
"build": "npm run build:libs && npm run build:page && npm run build:playground",
"build:page": "vite build --config build.vite.config.ts --mode page",

View File

@ -4,8 +4,7 @@
"type": "module",
"private": true,
"scripts": {
"dev": "npm run build:libs && vite --config dev.vite.config.ts",
"dev:playground": "vite --config dev.vite.config.ts",
"dev": "vite --config dev.vite.config.ts",
"build": "npm run build:libs && npm run build:page && npm run build:playground",
"build:page": "vite build --config build.vite.config.ts --mode page",
"build:playground": "vite build --config build.vite.config.ts --mode playground",