Skip to content

v0.0.12

Choose a tag to compare

@8tentaculos 8tentaculos released this 09 Dec 21:40
· 28 commits to master since this release

Changes

  • Added StyleSheet.toCSS() static method.

    • Returns CSS string without style tags for external CSS files.
  • Shorter class names in production.

    • Dev: .fun-9qkk9s-root (override with StyleSheet.debug = false).
    • Prod: .f-9qkk9s-1.
  • Introduced build-time __DEV__ flag.

    • Enabled by default in development.
    • Automatically stripped in production builds.
    • Runtime toggle via StyleSheet.debug remains available in development.

Fixes

  • Fixed nesting of at-rules when using @global.
    • At-rules now maintain proper nesting structure within @global blocks.

Chores

  • Updated Node.js version to v24.
  • Migrated to ESLint flat config (eslint.config.js).
  • Added version bump script to automatically update CDN links in README and examples.
  • Enabled sourcemap generation for all build outputs (CJS, ESM, and UMD formats).