File tree 4 files changed +10
-9
lines changed
packages/tailwindcss-patch
core/patches/supportCustomUnits 4 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " tailwindcss-patch" ,
3
- "version" : " 3.1.0-alpha.0 " ,
3
+ "version" : " 3.1.0-alpha.1 " ,
4
4
"description" : " patch tailwindcss for exposing context and extract classes" ,
5
5
"author" : " SonOfMagic <qq1324318532@gmail.com>" ,
6
6
"license" : " MIT" ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import fs from 'fs-extra'
3
3
import * as t from '@babel/types'
4
4
import type { ArrayExpression , StringLiteral } from '@babel/types'
5
5
import { defu } from 'defu'
6
- import type { ILengthUnitsPatchOptions } from '. /types'
6
+ import type { ILengthUnitsPatchOptions } from '@ /types'
7
7
import { generate , parse , traverse } from '@/babel'
8
8
import logger from '@/logger'
9
9
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -100,3 +100,11 @@ export interface TailwindcssRuntimeContext {
100
100
export type DeepRequired < T > = {
101
101
[ K in keyof T ] : Required < DeepRequired < T [ K ] > >
102
102
}
103
+
104
+ export interface ILengthUnitsPatchOptions {
105
+ units : string [ ]
106
+ lengthUnitsFilePath ?: string
107
+ variableName ?: string
108
+ overwrite ?: boolean
109
+ destPath ?: string
110
+ }
You can’t perform that action at this time.
0 commit comments