mirror of
https://github.com/withastro/astro.git
synced 2025-01-06 22:10:10 -05:00
[ci] format
This commit is contained in:
parent
50164f5e37
commit
c5d7f4452a
2 changed files with 4 additions and 2 deletions
|
@ -59,7 +59,9 @@ function rollupPluginAstroBuildCSS(options: PluginOptions): VitePlugin[] {
|
|||
const pagesToCss: Record<string, Record<string, { order: number; depth: number }>> = {};
|
||||
const pagesToPropagatedCss: Record<string, Record<string, Set<string>>> = {};
|
||||
|
||||
const isContentCollectionCache = options.buildOptions.settings.config.output === 'static' && options.buildOptions.settings.config.experimental.contentCollectionCache;
|
||||
const isContentCollectionCache =
|
||||
options.buildOptions.settings.config.output === 'static' &&
|
||||
options.buildOptions.settings.config.experimental.contentCollectionCache;
|
||||
|
||||
const cssBuildPlugin: VitePlugin = {
|
||||
name: 'astro:rollup-plugin-build-css',
|
||||
|
|
|
@ -101,7 +101,7 @@ describe('Content Collections', () => {
|
|||
const $ = cheerio.load(html);
|
||||
expect($('style').text()).to.include('content:"works!"');
|
||||
});
|
||||
})
|
||||
});
|
||||
|
||||
describe('Entry', () => {
|
||||
let json;
|
||||
|
|
Loading…
Reference in a new issue