jaspr_class_scope_builder library

Build-time class-name scopes for jaspr_class_scope.

Classes

ClassScopeBuilder
Writes the scope of every component annotated with @scopedCss into a .scopes.dart part file beside it.
ClassScopeCheckBuilder
Fails the build when two components end up with the same suffix, which would put their class names in one scope.
ScopesManifestBuilder
Lists this package's scopes for the check, which can glob only the package it runs in.

Functions

classScopeBuilder(BuilderOptions options) → Builder
Writes the scope of every component annotated with @scopedCss.
classScopeCheckBuilder(BuilderOptions options) → Builder
Fails the build when two of those scopes end up the same.
scopesManifestBuilder(BuilderOptions options) → Builder
Lists a package's scopes for the check to read.