File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,8 @@ export const makeSdTailwindConfig = ({
9797 transforms,
9898 buildPath,
9999 prefix,
100- tailwind
100+ tailwind,
101+ preprocessors
101102} : SdTailwindConfigType ) : Config => {
102103 if ( type === undefined ) {
103104 throw new Error ( 'type is required' )
@@ -108,6 +109,7 @@ export const makeSdTailwindConfig = ({
108109 }
109110
110111 return {
112+ preprocessors,
111113 source : getConfigValue ( source , [ 'tokens/**/*.json' ] ) ,
112114 hooks : {
113115 formats : {
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ export type SdTailwindConfigType = {
2424 formatType ?: TailwindFormatType
2525 isVariables ?: boolean
2626 source ?: Config [ 'source' ]
27+ preprocessors ?: Config [ 'preprocessors' ]
2728 transforms ?: PlatformConfig [ 'transforms' ]
2829 buildPath ?: PlatformConfig [ 'buildPath' ]
2930 prefix ?: PlatformConfig [ 'prefix' ]
You can’t perform that action at this time.
0 commit comments