diff --git a/packages/astro/src/core/render/dev/css.ts b/packages/astro/src/core/render/dev/css.ts index 9338c531c5..7e9eebed2e 100644 --- a/packages/astro/src/core/render/dev/css.ts +++ b/packages/astro/src/core/render/dev/css.ts @@ -1,6 +1,5 @@ import type { ModuleLoader } from '../../module-loader/index'; -import path from 'path'; import { RuntimeMode } from '../../../@types/astro.js'; import { viteID } from '../../util.js'; import { isCSSRequest } from './util.js'; diff --git a/packages/astro/src/core/render/dev/util.ts b/packages/astro/src/core/render/dev/util.ts index 85bf3dec28..fe4b292946 100644 --- a/packages/astro/src/core/render/dev/util.ts +++ b/packages/astro/src/core/render/dev/util.ts @@ -5,5 +5,5 @@ const inlineRE = /(?:\?|&)inline\b/; export { isCSSRequest }; -export const isBuildableCSSRequest = (request: string): boolean => isCSSRequest(request) && - !rawRE.test(request) && !inlineRE.test(request); +export const isBuildableCSSRequest = (request: string): boolean => + isCSSRequest(request) && !rawRE.test(request) && !inlineRE.test(request);