Skip to content

Commit

Permalink
Fix build command to comply with vite's new template
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaemami59 committed Sep 21, 2024
1 parent da69bcf commit 63d5b2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite-template-redux/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "vite",
"start": "vite",
"build": "tsc && vite build",
"build": "tsc -b && vite build",
"preview": "vite preview",
"test": "vitest run",
"format": "prettier --write .",
Expand Down
2 changes: 2 additions & 0 deletions packages/vite-template-redux/tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
"composite": true,
"module": "ESNext",
"moduleResolution": "bundler",
"outDir": "dist",
"skipLibCheck": true,
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
Expand Down

0 comments on commit 63d5b2c

Please sign in to comment.