mirror of
https://github.com/withastro/astro.git
synced 2025-01-22 18:41:55 -05:00
Fixes an issue with cssesc in dev mode when setting vite.ssr.noExternal: true (#12232)
* Fixes an issue with cssesc in dev mode when setting vite.noExternal: true * Update dirty-bags-double.md
This commit is contained in:
parent
6df5bba870
commit
ff68ba5e1c
2 changed files with 7 additions and 0 deletions
5
.changeset/dirty-bags-double.md
Normal file
5
.changeset/dirty-bags-double.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fixes an issue with cssesc in dev mode when setting `vite.ssr.noExternal: true`
|
|
@ -71,6 +71,8 @@ const ONLY_DEV_EXTERNAL = [
|
|||
'prismjs/components/index.js',
|
||||
// Imported by `astro/assets` -> `packages/astro/src/core/logger/core.ts`
|
||||
'string-width',
|
||||
// Imported by `astro:transitions` -> packages/astro/src/runtime/server/transition.ts
|
||||
'cssesc',
|
||||
];
|
||||
|
||||
/** Return a base vite config as a common starting point for all Vite commands. */
|
||||
|
|
Loading…
Reference in a new issue