[ci] format
This commit is contained in:
parent
ff04307863
commit
9302c0d4d0
4 changed files with 2 additions and 8 deletions
|
@ -632,7 +632,7 @@ export interface AstroUserConfig {
|
|||
* @version 2.2.0
|
||||
* @description
|
||||
* Specifies the prefix for Astro-generated asset links. This can be used if assets are served from a different domain than the current site.
|
||||
*
|
||||
*
|
||||
* For example, if this is set to `https://cdn.example.com`, assets will be fetched from `https://cdn.example.com/_astro/...` (regardless of the `base` option).
|
||||
* You would need to upload the files in `./dist/_astro/` to `https://cdn.example.com/_astro/` to serve the assets.
|
||||
* The process varies depending on how the third-party domain is hosted.
|
||||
|
|
|
@ -8,11 +8,7 @@ import type * as vite from 'vite';
|
|||
import { normalizePath } from 'vite';
|
||||
import type { AstroPluginOptions, ImageTransform } from '../@types/astro';
|
||||
import { error } from '../core/logger/core.js';
|
||||
import {
|
||||
appendForwardSlash,
|
||||
joinPaths,
|
||||
prependForwardSlash,
|
||||
} from '../core/path.js';
|
||||
import { appendForwardSlash, joinPaths, prependForwardSlash } from '../core/path.js';
|
||||
import { VIRTUAL_MODULE_ID, VIRTUAL_SERVICE_ID } from './consts.js';
|
||||
import { isESMImportedImage } from './internal.js';
|
||||
import { isLocalService } from './services/service.js';
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import npath from 'node:path';
|
||||
import { pathToFileURL } from 'url';
|
||||
import type { Plugin } from 'vite';
|
||||
import type { AstroSettings } from '../@types/astro.js';
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import fs from 'fs';
|
||||
import * as colors from 'kleur/colors';
|
||||
import { bgGreen, black, cyan, dim, green, magenta } from 'kleur/colors';
|
||||
import npath from 'path';
|
||||
import type { OutputAsset, OutputChunk } from 'rollup';
|
||||
import { fileURLToPath } from 'url';
|
||||
import type {
|
||||
|
|
Loading…
Reference in a new issue