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
f6fc662c3c
commit
9f85fb4ac2
2 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
||||||
import type { ModuleLoader } from '../../module-loader/index';
|
import type { ModuleLoader } from '../../module-loader/index';
|
||||||
|
|
||||||
import path from 'path';
|
|
||||||
import { RuntimeMode } from '../../../@types/astro.js';
|
import { RuntimeMode } from '../../../@types/astro.js';
|
||||||
import { viteID } from '../../util.js';
|
import { viteID } from '../../util.js';
|
||||||
import { isCSSRequest } from './util.js';
|
import { isCSSRequest } from './util.js';
|
||||||
|
|
|
@ -5,5 +5,5 @@ const inlineRE = /(?:\?|&)inline\b/;
|
||||||
|
|
||||||
export { isCSSRequest };
|
export { isCSSRequest };
|
||||||
|
|
||||||
export const isBuildableCSSRequest = (request: string): boolean => isCSSRequest(request) &&
|
export const isBuildableCSSRequest = (request: string): boolean =>
|
||||||
!rawRE.test(request) && !inlineRE.test(request);
|
isCSSRequest(request) && !rawRE.test(request) && !inlineRE.test(request);
|
||||||
|
|
Loading…
Reference in a new issue