diff options
author | 2023-11-12 04:33:14 +0000 | |
---|---|---|
committer | 2023-11-12 04:33:14 +0000 | |
commit | c5d7f4452ab3b240804a8c1bddbabc4e63000f48 (patch) | |
tree | b9e19606d70de084723312a2adf048d9127eea78 | |
parent | 50164f5e37cdc6ad81216627d8edb2a98ed37491 (diff) | |
download | astro-c5d7f4452ab3b240804a8c1bddbabc4e63000f48.tar.gz astro-c5d7f4452ab3b240804a8c1bddbabc4e63000f48.tar.zst astro-c5d7f4452ab3b240804a8c1bddbabc4e63000f48.zip |
[ci] format
-rw-r--r-- | packages/astro/src/core/build/plugins/plugin-css.ts | 4 | ||||
-rw-r--r-- | packages/astro/test/content-collections.test.js | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/astro/src/core/build/plugins/plugin-css.ts b/packages/astro/src/core/build/plugins/plugin-css.ts index 59a5aa3c6..f8611898f 100644 --- a/packages/astro/src/core/build/plugins/plugin-css.ts +++ b/packages/astro/src/core/build/plugins/plugin-css.ts @@ -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', diff --git a/packages/astro/test/content-collections.test.js b/packages/astro/test/content-collections.test.js index cee54f82e..44d08b532 100644 --- a/packages/astro/test/content-collections.test.js +++ b/packages/astro/test/content-collections.test.js @@ -101,7 +101,7 @@ describe('Content Collections', () => { const $ = cheerio.load(html); expect($('style').text()).to.include('content:"works!"'); }); - }) + }); describe('Entry', () => { let json; |