builder library

build_runner entry point for JX CSS.

Enable it in the project's build.yaml; jaspr serve and jaspr build then generate web/jx.css from the classes found in the project:

targets:
  $default:
    builders:
      jx_cli:jx_css:
        enabled: true

It is off by default so projects that write web/jx.css with jx build keep working: build_runner refuses to overwrite a source file.

Classes

JxCssBuilder
Generates the JX stylesheet of a package from its sources.

Functions

jxCssBuilder(BuilderOptions options) → Builder
Factory referenced by build.yaml.

Typedefs

JxPackageLister = (List<AssetId>, List<String>) Function(List<String> packages)
Returns the Dart files of the given packages, and the names that could not be resolved.