summaryrefslogtreecommitdiff
path: root/packages/integrations/vercel/src
diff options
context:
space:
mode:
authorGravatar Bjorn Lu <bjornlu.dev@gmail.com> 2025-02-24 20:50:08 +0800
committerGravatar GitHub <noreply@github.com> 2025-02-24 12:50:08 +0000
commit2e1321e9d5b27da3e86bc4021e4136661a8055aa (patch)
tree3b06e3e2d3ac67a06487da4286b1e70045014b07 /packages/integrations/vercel/src
parentbaf0c405dd9be1a13b1739bee45bb4aa258b3cab (diff)
downloadastro-2e1321e9d5b27da3e86bc4021e4136661a8055aa.tar.gz
astro-2e1321e9d5b27da3e86bc4021e4136661a8055aa.tar.zst
astro-2e1321e9d5b27da3e86bc4021e4136661a8055aa.zip
Replace globby/fast-glob/tiny-glob with tinyglobby (#13299)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com> Co-authored-by: florian-lefebvre <69633530+florian-lefebvre@users.noreply.github.com> Co-authored-by: ematipico <602478+ematipico@users.noreply.github.com>
Diffstat (limited to 'packages/integrations/vercel/src')
-rw-r--r--packages/integrations/vercel/src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/integrations/vercel/src/index.ts b/packages/integrations/vercel/src/index.ts
index 4aeb3e568..58a2a1740 100644
--- a/packages/integrations/vercel/src/index.ts
+++ b/packages/integrations/vercel/src/index.ts
@@ -12,7 +12,7 @@ import type {
IntegrationResolvedRoute,
} from 'astro';
import { AstroError } from 'astro/errors';
-import glob from 'fast-glob';
+import { globSync } from 'tinyglobby';
import {
type DevImageService,
type VercelImageConfig,
@@ -353,7 +353,7 @@ export default function vercelAdapter({
if (_config.vite.assetsInclude) {
const mergeGlobbedIncludes = (globPattern: unknown) => {
if (typeof globPattern === 'string') {
- const entries = glob.sync(globPattern).map((p) => pathToFileURL(p));
+ const entries = globSync(globPattern).map((p) => pathToFileURL(p));
extraFilesToInclude.push(...entries);
} else if (Array.isArray(globPattern)) {
for (const pattern of globPattern) {