Skip to content

Commit

Permalink
use dev build of playground/lexical on vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
etrepum committed May 3, 2024
1 parent ef4e547 commit 87f93e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/lexical-playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion packages/lexical-playground/vite.prod.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default defineConfig({
replacements: [
{
from: /__DEV__/g,
to: 'true',
to: 'false',
},
],
}),
Expand Down

0 comments on commit 87f93e9

Please sign in to comment.