Skip to content

Commit

Permalink
Sort configs by file name
Browse files Browse the repository at this point in the history
  • Loading branch information
narin committed Jun 26, 2024
1 parent 07a6d1b commit 2bc82fd
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/tokens/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,23 @@ module.exports = {
buildPath: './dist/',
prefix: '',
files: [
{
destination: 'index.d.ts',
format: 'typescript/es6-declarations/module',
},
{
destination: 'js/colors.js',
format: 'javascript/es6/vads-colors',
filter: 'filter/color/is-color',
},
{
destination: 'js/themes.js',
format: 'javascript/es6/vads-colors-themes',
},
{
destination: 'js/index.js',
format: 'javascript/es6/vads-module-export',
},
{
destination: 'js/themes.js',
format: 'javascript/es6/vads-colors-themes',
},
{
destination: 'types/colors.d.ts',
format: 'typescript/es6-declarations/colors',
Expand All @@ -36,25 +40,21 @@ module.exports = {
format: 'typescript/es6-declarations/theme',
filter: 'filter/color/light-mode',
},
{
destination: 'index.d.ts',
format: 'typescript/es6-declarations/module',
},
],
},
figma: {
transformGroup: 'figma',
buildPath: './figma/',
files: [
{
destination: `light.json`,
destination: `dark.json`,
format: 'json/dtcg',
filter: 'filter/color/light-mode',
filter: 'filter/color/dark-mode',
},
{
destination: `dark.json`,
destination: `light.json`,
format: 'json/dtcg',
filter: 'filter/color/dark-mode',
filter: 'filter/color/light-mode',
},
],
},
Expand Down

0 comments on commit 2bc82fd

Please sign in to comment.