Skip to content

Commit

Permalink
fix: adds transform group for ios and android
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreydelooff committed Aug 23, 2022
1 parent 372f8f9 commit 94da818
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/android/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export const setup = (config: AndroidConfig) => {
source: [input],
platforms: {
android: {
transformGroup: 'name/ti/camel',
files: [
{
format: typographyTemplate.formatter,
Expand Down
9 changes: 5 additions & 4 deletions src/ios/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,14 @@ export const setup = (config: IOSConfig) => {
source: [input],
platforms: {
ios: {
files: [typographyTemplate, spacingsTemplate, colorsTemplate]
.map((template) => ({
transformGroup: 'name/ti/camel',
files: [typographyTemplate, spacingsTemplate, colorsTemplate].map(
template => ({
format: template.formatter,
destination: template.destination,
filter: template.filter,
})
)
}),
),
},
},
})
Expand Down

0 comments on commit 94da818

Please sign in to comment.