mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
[ci] format
This commit is contained in:
parent
ee750087ce
commit
6ff1399e98
1 changed files with 7 additions and 7 deletions
|
@ -1,10 +1,10 @@
|
|||
import type { AstroAdapter, AstroConfig, AstroIntegration } from 'astro';
|
||||
|
||||
import glob from 'fast-glob';
|
||||
import { pathToFileURL } from 'url';
|
||||
import { getVercelOutput, removeDir, writeJson } from '../lib/fs.js';
|
||||
import { copyDependenciesToFunction } from '../lib/nft.js';
|
||||
import { getRedirects } from '../lib/redirects.js';
|
||||
import glob from 'fast-glob';
|
||||
import { pathToFileURL } from 'url';
|
||||
|
||||
const PACKAGE_NAME = '@astrojs/vercel/serverless';
|
||||
|
||||
|
@ -73,7 +73,7 @@ export default function vercelServerless({
|
|||
if (_config.vite.assetsInclude) {
|
||||
const mergeGlobbedIncludes = (globPattern: unknown) => {
|
||||
if (typeof globPattern === 'string') {
|
||||
const entries = glob.sync(globPattern).map(p => pathToFileURL(p));
|
||||
const entries = glob.sync(globPattern).map((p) => pathToFileURL(p));
|
||||
inc.push(...entries);
|
||||
} else if (Array.isArray(globPattern)) {
|
||||
for (const pattern of globPattern) {
|
||||
|
|
Loading…
Add table
Reference in a new issue