diff --git a/packages/astro/src/vite-plugin-build-css/index.ts b/packages/astro/src/vite-plugin-build-css/index.ts index b01ef265e..6d9861d07 100644 --- a/packages/astro/src/vite-plugin-build-css/index.ts +++ b/packages/astro/src/vite-plugin-build-css/index.ts @@ -173,9 +173,9 @@ export function rollupPluginAstroBuildCSS(options: PluginOptions): VitePlugin[] fileName: imp, name: imp, facadeModuleId: imp, - code: `/* Pure CSS chunk ${imp} */ ${bindings.map( - (b) => `export const ${b} = {};` - ).join('')}`, + code: `/* Pure CSS chunk ${imp} */ ${bindings + .map((b) => `export const ${b} = {};`) + .join('')}`, dynamicImports: [], implicitlyLoadedBefore: [], importedBindings: {},