summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar matthewp <matthewp@users.noreply.github.com> 2021-06-14 16:01:54 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-06-14 16:01:54 +0000
commit3db69141374bba4cf63f6958ce044bc8247b6bce (patch)
tree21167f31a3a1fcc7582593bb9838daf5accf1a5a
parent0b16b2ddd0e3f0bf9ac74d7c801c9f09dbd40a1a (diff)
downloadastro-3db69141374bba4cf63f6958ce044bc8247b6bce.tar.gz
astro-3db69141374bba4cf63f6958ce044bc8247b6bce.tar.zst
astro-3db69141374bba4cf63f6958ce044bc8247b6bce.zip
[ci] yarn format
-rw-r--r--packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts17
1 files changed, 1 insertions, 16 deletions
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 7db630764..3f00cd92b 100644
--- a/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts
+++ b/packages/astro/src/compiler/transform/postcss-scoped-styles/index.ts
@@ -14,22 +14,7 @@ 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<string>([
- 'base',
- 'body',
- 'font',
- 'frame',
- 'frameset',
- 'head',
- 'html',
- 'link',
- 'meta',
- 'noframes',
- 'noscript',
- 'script',
- 'style',
- 'title'
-]);
+export const NEVER_SCOPED_TAGS = new Set<string>(['base', 'body', 'font', 'frame', 'frameset', 'head', 'html', 'link', 'meta', 'noframes', 'noscript', 'script', 'style', 'title']);
/**
* 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`)