0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00

[ci] format

This commit is contained in:
tony-sull 2022-07-25 21:16:11 +00:00 committed by fredkbot
parent e60d6d9c1d
commit 2a13e430b1
3 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
import fs from 'node:fs/promises';
import path from 'node:path';
import glob from 'tiny-glob';
import { fileURLToPath } from 'node:url';
import glob from 'tiny-glob';
import { ensureDir } from '../utils/paths.js';
async function globImages(dir: URL) {

View file

@ -1,5 +1,5 @@
import fs from 'node:fs/promises';
import sizeOf from 'image-size';
import fs from 'node:fs/promises';
import { ImageMetadata, InputFormat } from '../types.js';
export async function metadata(src: string): Promise<ImageMetadata | undefined> {

View file

@ -1,7 +1,7 @@
import type { AstroConfig } from 'astro';
import { pathToFileURL } from 'node:url';
import type { PluginContext } from 'rollup';
import slash from 'slash';
import { pathToFileURL } from 'node:url';
import type { Plugin, ResolvedConfig } from 'vite';
import type { IntegrationOptions } from './types.js';
import { metadata } from './utils/metadata.js';