mirror of
https://github.com/tale/headplane.git
synced 2026-08-30 08:49:30 +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
|
// If we have the Headplane entry we build it as a single
|
||||||
// server.mjs file that is built for production server bundle
|
// server.mjs file that is built for production server bundle
|
||||||
// We know the remix invoked command is vite:build
|
// 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 {
|
return {
|
||||||
build: {
|
build: {
|
||||||
minify: false,
|
minify: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user