Mapping collections to specific JSON files? #21
|
In the docs it mentions best practices are to map one collection per file (https://docs.gitfig.com/design-sync/file-mappings#one-file-per-collection) but I'm not sure how to do that? The mapping seems to just put everything in whatever file I assign to Variables, or it creates a new file at the root of the repo if I don't map anything. |
Answered by
ds1
Aug 29, 2026
Replies: 1 comment
|
@chesterblack, you found a real gap: the docs described one-collection-per-file, but the plugin couldn't actually do it. v1.3.0 makes the docs true. Each mapping now has an editable Collection Name, each mapped file exports only its matching collection, and multiple mappings push as one commit with one file per mapping. The mapping docs are updated. |
0 replies
Answer selected by
ds1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@chesterblack, you found a real gap: the docs described one-collection-per-file, but the plugin couldn't actually do it. v1.3.0 makes the docs true. Each mapping now has an editable Collection Name, each mapped file exports only its matching collection, and multiple mappings push as one commit with one file per mapping. The mapping docs are updated.