diff --git a/packages/lexical-playground/package.json b/packages/lexical-playground/package.json index 0df0420315a..78a523dfe7d 100644 --- a/packages/lexical-playground/package.json +++ b/packages/lexical-playground/package.json @@ -7,7 +7,7 @@ "dev": "vite --host", "build-dev": "vite build", "build-prod": "vite build --config vite.prod.config.ts", - "build-vercel": "(cd ../../ && node ./scripts/build.js --prod) && npm run build-prod", + "build-vercel": "(cd ../../ && node ./scripts/build.js) && npm run build-dev", "preview": "vite preview" }, "dependencies": { diff --git a/packages/lexical-playground/vite.prod.config.ts b/packages/lexical-playground/vite.prod.config.ts index a1e5f9abd4c..a765476d410 100644 --- a/packages/lexical-playground/vite.prod.config.ts +++ b/packages/lexical-playground/vite.prod.config.ts @@ -51,7 +51,7 @@ export default defineConfig({ replacements: [ { from: /__DEV__/g, - to: 'true', + to: 'false', }, ], }),