refactor: use esbuild instead of vite (#2672)

(cherry picked from commit acda594cba)
This commit is contained in:
Himself65
2023-06-02 21:22:09 +08:00
committed by himself65
parent bb8bfd0c9e
commit 42c7c367ab
13 changed files with 111 additions and 80 deletions

View File

@@ -15,10 +15,11 @@
"dev": "dev-web",
"dev:ac": "API_SERVER_PROFILE=ac yarn workspace @affine/web dev",
"dev:local": "PORT=8080 API_SERVER_PROFILE=local yarn workspace @affine/web dev",
"dev:app": "yarn workspace @affine/electron dev:app",
"dev:electron": "yarn workspace @affine/electron dev:app",
"dev:plugins": "./apps/electron/scripts/plugins/dev-plugins.mjs",
"build": "yarn workspace @affine/web build",
"build:client": "yarn workspace @affine/client-app build:app",
"build:storybook": "yarn workspace @affine/component build-storybook",
"build:plugins": "./apps/electron/scripts/plugins/build-plugins.mjs",
"bump:nightly": "./scripts/bump-blocksuite.sh",
"circular": "madge --circular --ts-config ./tsconfig.json ./apps/web/src/pages/**/*.tsx",
"export": "yarn workspace @affine/web export",