Releases: vanilla-extract-css/vanilla-extract
@vanilla-extract/[email protected]
Patch Changes
-
#30
b4591d5Thanks @mattcompiles! - Fix hash context information not being appliedThis change makes it so all files with a valid CSS file extension (e.g.
.css.ts) get hash context information (internally referred to asfilescope) applied. This fixes some situations where the "New styles cannot be registered dynamically after initial boot" error would occur incorrectly.
@vanilla-extract/[email protected]
Patch Changes
-
#30
b4591d5Thanks @mattcompiles! - Fix hash context information not being appliedThis change makes it so all files with a valid CSS file extension (e.g.
.css.ts) get hash context information (internally referred to asfilescope) applied. This fixes some situations where the "New styles cannot be registered dynamically after initial boot" error would occur incorrectly. -
#30
b4591d5Thanks @mattcompiles! - Ignore compiling files that have already been compiled
@vanilla-extract/[email protected]
Minor Changes
-
#20
3311914Thanks @mattcompiles! - Ensure generated hashes are scoped by packagevanilla-extract uses file path to ensure unique identifier (e.g. class names, CSS Variables, keyframes, etc) hashes across your application. This information is added to your
*.css.tsfiles at build time. The issue with this approach is it meant*.css.tsfiles couldn't be pre-compiled when being published to npm.This change adds support for pre-compilation of packages by adding package name information to identifier hashes.
Patch Changes
- Updated dependencies [
3311914,c4bedd5]:- @vanilla-extract/[email protected]
@vanilla-extract/[email protected]
Minor Changes
-
#20
3311914Thanks @mattcompiles! - Ensure generated hashes are scoped by packagevanilla-extract uses file path to ensure unique identifier (e.g. class names, CSS Variables, keyframes, etc) hashes across your application. This information is added to your
*.css.tsfiles at build time. The issue with this approach is it meant*.css.tsfiles couldn't be pre-compiled when being published to npm.This change adds support for pre-compilation of packages by adding package name information to identifier hashes.
-
#20
3311914Thanks @mattcompiles! - RemoveprojectRootoption in favor ofpackage.jsonresolution
Patch Changes
- Updated dependencies [
3311914,c4bedd5]:- @vanilla-extract/[email protected]
@vanilla-extract/[email protected]
Minor Changes
-
#20
3311914Thanks @mattcompiles! - Ensure generated hashes are scoped by packagevanilla-extract uses file path to ensure unique identifier (e.g. class names, CSS Variables, keyframes, etc) hashes across your application. This information is added to your
*.css.tsfiles at build time. The issue with this approach is it meant*.css.tsfiles couldn't be pre-compiled when being published to npm.This change adds support for pre-compilation of packages by adding package name information to identifier hashes.
-
#25
c4bedd5Thanks @markdalgleish! - ThecreateInlineThemefunction has now moved to the@vanilla-extract/dynamicpackage.-import { createInlineTheme } from '@vanilla-extract/css/createInlineTheme'; +import { createInlineTheme } from '@vanilla-extract/dynamic';
@vanilla-extract/[email protected]
Minor Changes
-
#20
3311914Thanks @mattcompiles! - Ensure generated hashes are scoped by packagevanilla-extract uses file path to ensure unique identifier (e.g. class names, CSS Variables, keyframes, etc) hashes across your application. This information is added to your
*.css.tsfiles at build time. The issue with this approach is it meant*.css.tsfiles couldn't be pre-compiled when being published to npm.This change adds support for pre-compilation of packages by adding package name information to identifier hashes.
-
#20
3311914Thanks @mattcompiles! - RemoveprojectRootandaliasoption
@vanilla-extract/[email protected]
Patch Changes
- #16
ebb3edcThanks @mattcompiles! - Trigger rebuild for CSS file dependencies