From e3df5e80e16b6dec75ec7f44a1ea4c0692606fdb Mon Sep 17 00:00:00 2001 From: natemoo-re Date: Wed, 2 Jun 2021 01:04:40 +0000 Subject: [PATCH] [ci] yarn format --- .../transform/postcss-scoped-styles/index.ts | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts b/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts index a7d20b9d49..63ac9fd8d1 100644 --- a/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts +++ b/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts @@ -14,7 +14,23 @@ const CSS_SEPARATORS = new Set([' ', ',', '+', '>', '~']); const KEYFRAME_PERCENT = /\d+\.?\d*%/; /** HTML tags that should never get scoped classes */ -export const NEVER_SCOPED_TAGS = new Set(['base', 'body', 'font', 'frame', 'frameset', 'head', 'html', 'link', 'meta', 'noframes', 'noscript', 'script', 'style', 'title', '!doctype']); +export const NEVER_SCOPED_TAGS = new Set([ + 'base', + 'body', + 'font', + 'frame', + 'frameset', + 'head', + 'html', + 'link', + 'meta', + 'noframes', + 'noscript', + 'script', + 'style', + 'title', + '!doctype', +]); /** * Scope Rules * Given a selector string (`.btn>span,.nav>span`), add an additional CSS class to every selector (`.btn.myClass>span.myClass,.nav.myClass>span.myClass`)