summaryrefslogtreecommitdiff
path: root/src/compiler/optimize/styles.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/optimize/styles.ts')
-rw-r--r--src/compiler/optimize/styles.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/optimize/styles.ts b/src/compiler/optimize/styles.ts
index b613e4845..36e6f1d7d 100644
--- a/src/compiler/optimize/styles.ts
+++ b/src/compiler/optimize/styles.ts
@@ -106,7 +106,7 @@ async function transformStyle(code: string, { type, filename, scopedClass, mode
return { css, type: styleType };
}
-/** Style optimizer */
+/** Optimize <style> tags */
export default function optimizeStyles({ compileOptions, filename, fileID }: OptimizeOptions): Optimizer {
const styleNodes: TemplateNode[] = []; // <style> tags to be updated
const styleTransformPromises: Promise<StyleTransformResult>[] = []; // async style transform results to be finished in finalize();