summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2023-11-12 04:33:14 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-11-12 04:33:14 +0000
commitc5d7f4452ab3b240804a8c1bddbabc4e63000f48 (patch)
treeb9e19606d70de084723312a2adf048d9127eea78
parent50164f5e37cdc6ad81216627d8edb2a98ed37491 (diff)
downloadastro-c5d7f4452ab3b240804a8c1bddbabc4e63000f48.tar.gz
astro-c5d7f4452ab3b240804a8c1bddbabc4e63000f48.tar.zst
astro-c5d7f4452ab3b240804a8c1bddbabc4e63000f48.zip
[ci] format
-rw-r--r--packages/astro/src/core/build/plugins/plugin-css.ts4
-rw-r--r--packages/astro/test/content-collections.test.js2
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;