Skip to content

@fluentic/style 0.1.0-beta.3

Pre-release
Pre-release

Choose a tag to compare

@omnidevhub omnidevhub released this 12 Jul 03:42
· 40 commits to main since this release

This release fixes production class-name identity in static extraction.

Production builds now derive class names from the atomic CSS declaration instead of the source callsite, so identical extracted rules dedupe globally and emitted CSS stays minimal. Development builds still keep callsite-local identity, making debug class names traceable back to where each style was authored.

Changes

  • Make localClassName internal and derived from build mode.
  • Keep callsite-local class-name hashing enabled in development.
  • Use global atomic class-name hashing in production and build output.
  • Keep debugClassName configurable from plugin options and runtime CSS configuration.
  • Preserve hash suffixes in final class names in every mode.
  • Update tests, snapshots, and design notes for class-name identity behavior.