fix: use correct vite config in dev
This commit is contained in:
parent
1d6472765a
commit
3e83f8617b
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue