mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
chore: remove setup chunk
This commit is contained in:
parent
2ed705ccf2
commit
9d6dd211a8
1 changed files with 0 additions and 5 deletions
|
@ -16,11 +16,6 @@ export function vitePluginChunks(): VitePlugin {
|
||||||
if (id.includes('astro/dist/runtime')) {
|
if (id.includes('astro/dist/runtime')) {
|
||||||
return 'astro';
|
return 'astro';
|
||||||
}
|
}
|
||||||
// Place `astro/env/setup` import in its own chunk to prevent Rollup's TLA bug
|
|
||||||
// https://github.com/rollup/rollup/issues/4708
|
|
||||||
if (id.includes('astro/dist/env/setup')) {
|
|
||||||
return 'astro/env-setup';
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue