Skip to content

Commit ff379d3

Browse files
committed
feat(tokens): export json, remove duplicate file generation
1 parent 6c19fcf commit ff379d3

File tree

6 files changed

+15
-7164
lines changed

6 files changed

+15
-7164
lines changed

.changeset/mean-adults-scream.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@spectrum-css/tokens": minor
3+
---
4+
5+
Add JSON to token package exports.
6+
7+
Remove index files from commit history (but continue to build and ship them in the releases).
8+
9+
Stop physically copying the `dist/css/index.css` to `dist/index.css` and instead, map `dist/index.css` in the package exports to the same `dist/css/index.css` file.

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
dist
22
!dist/metadata.json
3-
!tokens/dist/**
3+
!tokens/dist/css/*-vars.css
4+
!tokens/dist/json/*
45

56
# Not committing the map assets, these are dev-only
67
*.map

0 commit comments

Comments
 (0)