mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-22 19:53:48 +08:00
build: fix undefined entry point (#7594)
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
"private": true,
|
"private": true,
|
||||||
"browser": "src/index.tsx",
|
"browser": "src/index.tsx",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "yarn workspace @affine/cli build",
|
"build": "cross-env DISTRIBUTION=browser yarn workspace @affine/cli build",
|
||||||
"dev": "yarn workspace @affine/cli dev",
|
"dev": "yarn workspace @affine/cli dev",
|
||||||
"static-server": "yarn workspace @affine/cli dev --static"
|
"static-server": "yarn workspace @affine/cli dev --static"
|
||||||
},
|
},
|
||||||
@@ -24,6 +24,7 @@
|
|||||||
"@affine/cli": "workspace:*",
|
"@affine/cli": "workspace:*",
|
||||||
"@types/react": "^18.2.75",
|
"@types/react": "^18.2.75",
|
||||||
"@types/react-dom": "^18.2.24",
|
"@types/react-dom": "^18.2.24",
|
||||||
|
"cross-env": "^7.0.3",
|
||||||
"typescript": "^5.4.5"
|
"typescript": "^5.4.5"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -856,6 +856,7 @@ __metadata:
|
|||||||
"@types/react": "npm:^18.2.75"
|
"@types/react": "npm:^18.2.75"
|
||||||
"@types/react-dom": "npm:^18.2.24"
|
"@types/react-dom": "npm:^18.2.24"
|
||||||
core-js: "npm:^3.36.1"
|
core-js: "npm:^3.36.1"
|
||||||
|
cross-env: "npm:^7.0.3"
|
||||||
intl-segmenter-polyfill-rs: "npm:^0.1.7"
|
intl-segmenter-polyfill-rs: "npm:^0.1.7"
|
||||||
jotai: "npm:^2.8.0"
|
jotai: "npm:^2.8.0"
|
||||||
react: "npm:^18.2.0"
|
react: "npm:^18.2.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user