There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
build: fix undefined entry point (#7594)
LongYinan20c4224e2dd7
diff --git a/packages/frontend/web/package.json b/packages/frontend/web/package.jsonindex a2c6983a16..74358a956e 100644--- a/packages/frontend/web/package.json+++ b/packages/frontend/web/package.json@@ -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"}}diff --git a/yarn.lock b/yarn.lockindex 95c8087bcb..713ca41f05 100644--- a/yarn.lock+++ b/yarn.lock@@ -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"