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:
matthewp 2023-02-07 15:51:20 +00:00 committed by fredkbot
parent f6fc662c3c
commit 9f85fb4ac2
2 changed files with 2 additions and 3 deletions

View file

@ -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';

View file

@ -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);