Skip to content

Commit

Permalink
Move appType config to correct spot (#464)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanVS committed Jul 26, 2022
1 parent ac5934a commit 0f4f804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/builder-vite/vite-server.ts
Expand Up @@ -14,7 +14,6 @@ export async function createViteServer(options: ExtendedOptions, devServer: Serv
...baseConfig,
server: {
middlewareMode: true,
appType: 'custom',
hmr: {
port,
server: devServer,
Expand All @@ -23,6 +22,7 @@ export async function createViteServer(options: ExtendedOptions, devServer: Serv
strict: true,
},
},
appType: 'custom' as const,
optimizeDeps: await getOptimizeDeps(baseConfig, options),
};

Expand Down

0 comments on commit 0f4f804

Please sign in to comment.