fix: fix storybook build script not found by Chromatic (#5235)

This commit is contained in:
Thaïs
2024-05-02 16:15:36 +02:00
committed by GitHub
parent f802964de4
commit 5128ea3ffb
12 changed files with 147 additions and 80 deletions

View File

@ -6,6 +6,7 @@
"scripts": {
"build": "npx vite build && sh ./scripts/inject-runtime-env.sh",
"build:sourcemaps": "VITE_BUILD_SOURCEMAP=true NODE_OPTIONS=--max-old-space-size=4096 npx nx build",
"build-storybook": "cd ../.. && npx nx storybook:build twenty-front",
"start:prod": "NODE_ENV=production npx vite --host",
"tsup": "npx tsup"
},