[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 fs from 'node:fs/promises';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
import glob from 'tiny-glob';
|
|
||||||
import { fileURLToPath } from 'node:url';
|
import { fileURLToPath } from 'node:url';
|
||||||
|
import glob from 'tiny-glob';
|
||||||
import { ensureDir } from '../utils/paths.js';
|
import { ensureDir } from '../utils/paths.js';
|
||||||
|
|
||||||
async function globImages(dir: URL) {
|
async function globImages(dir: URL) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import fs from 'node:fs/promises';
|
|
||||||
import sizeOf from 'image-size';
|
import sizeOf from 'image-size';
|
||||||
|
import fs from 'node:fs/promises';
|
||||||
import { ImageMetadata, InputFormat } from '../types.js';
|
import { ImageMetadata, InputFormat } from '../types.js';
|
||||||
|
|
||||||
export async function metadata(src: string): Promise<ImageMetadata | undefined> {
|
export async function metadata(src: string): Promise<ImageMetadata | undefined> {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import type { AstroConfig } from 'astro';
|
import type { AstroConfig } from 'astro';
|
||||||
|
import { pathToFileURL } from 'node:url';
|
||||||
import type { PluginContext } from 'rollup';
|
import type { PluginContext } from 'rollup';
|
||||||
import slash from 'slash';
|
import slash from 'slash';
|
||||||
import { pathToFileURL } from 'node:url';
|
|
||||||
import type { Plugin, ResolvedConfig } from 'vite';
|
import type { Plugin, ResolvedConfig } from 'vite';
|
||||||
import type { IntegrationOptions } from './types.js';
|
import type { IntegrationOptions } from './types.js';
|
||||||
import { metadata } from './utils/metadata.js';
|
import { metadata } from './utils/metadata.js';
|
||||||
|
|
Loading…
Reference in a new issue