Skip to content

Commit

Permalink
Add outputReferenceFallbacks option to css/advanced formatter.
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain-chabannes authored Dec 3, 2024
1 parent e1d419d commit dbf6e44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/format/css-advanced.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const cssAdvanced: FormatFn = async ({
file,
}: FormatFnArguments) => {
// get options
const {outputReferences, formatting, usesDtcg} = options
const {outputReferences, outputReferenceFallbacks, formatting, usesDtcg} = options
// selector
const defaultSelector = file?.options?.selector !== undefined ? file?.options?.selector : ':root'
// query extension property
Expand Down Expand Up @@ -76,6 +76,7 @@ export const cssAdvanced: FormatFn = async ({
format: 'css',
dictionary: filteredDictionary,
outputReferences,
outputReferenceFallbacks,
formatting: mergedFormatting,
usesDtcg,
})
Expand Down

0 comments on commit dbf6e44

Please sign in to comment.