diff --git a/packages/astro/package.json b/packages/astro/package.json index 44fed2723..f8ed92bc8 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -78,6 +78,7 @@ "morphdom": "^2.6.1", "node-fetch": "^2.6.5", "path-to-regexp": "^6.2.0", + "prismjs": "^1.25.0", "remark-slug": "^7.0.0", "resolve": "^1.20.0", "sass": "^1.43.3", diff --git a/packages/astro/src/core/create-vite.ts b/packages/astro/src/core/create-vite.ts index 2692f3464..7f6c4ef7f 100644 --- a/packages/astro/src/core/create-vite.ts +++ b/packages/astro/src/core/create-vite.ts @@ -18,6 +18,7 @@ const ALWAYS_EXTERNAL = new Set([ 'micromark-util-events-to-acorn', 'node-fetch', 'prismjs', + 'shiki', 'shorthash', 'unified', 'whatwg-url',