Skip to content

Commit 2247cdc

Browse files
authored
Fix serialization of booleans (#136)
1 parent ab852d2 commit 2247cdc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/quiet-jokes-wait.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@vanilla-extract/integration': patch
3+
---
4+
5+
Fix serialization of booleans

packages/integration/src/processVanillaFile.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ function stringifyExports(recipeImports: Set<string>, value: any): any {
112112
const valueType = typeof value;
113113
if (
114114
valueType === 'string' ||
115+
valueType === 'boolean' ||
115116
valueType === 'number' ||
116117
valueType === 'undefined' ||
117118
value === null ||

0 commit comments

Comments
 (0)