mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
[ci] format
This commit is contained in:
parent
e60d6d9c1d
commit
2a13e430b1
3 changed files with 3 additions and 3 deletions
|
@ -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) {
|
||||
|
|
|
@ -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> {
|
||||
|
|
|
@ -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';
|
||||
|
|
Loading…
Reference in a new issue