feat: remove legacy.devDepsScanner. Vite 3 strat is now Vite 2.x strat!
This commit is contained in:
parent
58a22585e7
commit
39136c6ffc
1 changed files with 0 additions and 5 deletions
|
@ -79,11 +79,6 @@ export async function createVite(
|
|||
define: {
|
||||
'import.meta.env.SITE': astroConfig.site ? `'${astroConfig.site}'` : 'undefined',
|
||||
},
|
||||
// fixes HMR for static components
|
||||
// TODO: remove!
|
||||
legacy: {
|
||||
devDepsScanner: true,
|
||||
},
|
||||
server: {
|
||||
hmr:
|
||||
process.env.NODE_ENV === 'test' || process.env.NODE_ENV === 'production'
|
||||
|
|
Loading…
Reference in a new issue