build: fix undefined entry point (#7594)

This commit is contained in:
LongYinan 2024-07-24 18:23:09 +08:00 committed by GitHub
parent 25b74467ce
commit 20c4224e2d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@
"private": true,
"browser": "src/index.tsx",
"scripts": {
"build": "yarn workspace @affine/cli build",
"build": "cross-env DISTRIBUTION=browser yarn workspace @affine/cli build",
"dev": "yarn workspace @affine/cli dev",
"static-server": "yarn workspace @affine/cli dev --static"
},
@ -24,6 +24,7 @@
"@affine/cli": "workspace:*",
"@types/react": "^18.2.75",
"@types/react-dom": "^18.2.24",
"cross-env": "^7.0.3",
"typescript": "^5.4.5"
}
}

View File

@ -856,6 +856,7 @@ __metadata:
"@types/react": "npm:^18.2.75"
"@types/react-dom": "npm:^18.2.24"
core-js: "npm:^3.36.1"
cross-env: "npm:^7.0.3"
intl-segmenter-polyfill-rs: "npm:^0.1.7"
jotai: "npm:^2.8.0"
react: "npm:^18.2.0"