fix: use correct vite config in dev
This commit is contained in:
parent
1d6472765a
commit
3e83f8617b
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user