Exporting
Jess currently keeps exporting simple and predictable.
Current practical export patterns
- In stylesheet space, share reusable APIs through
@-composestylesheet modules. The@-from/@-usescript-module syntax binds exports at compile time. See Modules & imports. - In bundler space,
rollup-plugin-jesscurrently exports the compiled CSS string as the default JS export and emits a CSS asset.
Notes
There is no dedicated language-level @export directive documented as stable yet. As that API settles, this page will become the canonical guide.