mirror of
https://github.com/tale/headplane.git
synced 2026-07-26 07:48:14 +00:00
fix: use correct vite config in dev
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ export default defineConfig(({ isSsrBuild }) => {
|
||||
// If we have the Headplane entry we build it as a single
|
||||
// server.mjs file that is built for production server bundle
|
||||
// We know the remix invoked command is vite:build
|
||||
if (!process.argv.includes('vite:build')) {
|
||||
if (!process.argv.includes('vite:build') && !process.argv.includes('vite:dev')) {
|
||||
return {
|
||||
build: {
|
||||
minify: false,
|
||||
|
||||
Reference in New Issue
Block a user