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.