tailwindcss-patch 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/tw-patch.js +1 -0
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +3 -2
package/bin/tw-patch.js
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -135,12 +135,12 @@ declare function inspectPostcssPlugin(content: string): {
|
|
|
135
135
|
};
|
|
136
136
|
|
|
137
137
|
declare function monkeyPatchForExposingContextV3(twDir: string, opt: InternalPatchOptions): {
|
|
138
|
-
processTailwindFeatures?: string
|
|
139
|
-
plugin?: string
|
|
138
|
+
processTailwindFeatures?: string;
|
|
139
|
+
plugin?: string;
|
|
140
140
|
} & Record<string, any>;
|
|
141
141
|
declare function monkeyPatchForExposingContextV2(twDir: string, opt: InternalPatchOptions): {
|
|
142
|
-
processTailwindFeatures?: string
|
|
143
|
-
plugin?: string
|
|
142
|
+
processTailwindFeatures?: string;
|
|
143
|
+
plugin?: string;
|
|
144
144
|
} & Record<string, any>;
|
|
145
145
|
declare function internalPatch(pkgJsonPath: string | undefined, options: InternalPatchOptions): any | undefined;
|
|
146
146
|
|
package/dist/index.d.mts
CHANGED
|
@@ -135,12 +135,12 @@ declare function inspectPostcssPlugin(content: string): {
|
|
|
135
135
|
};
|
|
136
136
|
|
|
137
137
|
declare function monkeyPatchForExposingContextV3(twDir: string, opt: InternalPatchOptions): {
|
|
138
|
-
processTailwindFeatures?: string
|
|
139
|
-
plugin?: string
|
|
138
|
+
processTailwindFeatures?: string;
|
|
139
|
+
plugin?: string;
|
|
140
140
|
} & Record<string, any>;
|
|
141
141
|
declare function monkeyPatchForExposingContextV2(twDir: string, opt: InternalPatchOptions): {
|
|
142
|
-
processTailwindFeatures?: string
|
|
143
|
-
plugin?: string
|
|
142
|
+
processTailwindFeatures?: string;
|
|
143
|
+
plugin?: string;
|
|
144
144
|
} & Record<string, any>;
|
|
145
145
|
declare function internalPatch(pkgJsonPath: string | undefined, options: InternalPatchOptions): any | undefined;
|
|
146
146
|
|
package/dist/index.d.ts
CHANGED
|
@@ -135,12 +135,12 @@ declare function inspectPostcssPlugin(content: string): {
|
|
|
135
135
|
};
|
|
136
136
|
|
|
137
137
|
declare function monkeyPatchForExposingContextV3(twDir: string, opt: InternalPatchOptions): {
|
|
138
|
-
processTailwindFeatures?: string
|
|
139
|
-
plugin?: string
|
|
138
|
+
processTailwindFeatures?: string;
|
|
139
|
+
plugin?: string;
|
|
140
140
|
} & Record<string, any>;
|
|
141
141
|
declare function monkeyPatchForExposingContextV2(twDir: string, opt: InternalPatchOptions): {
|
|
142
|
-
processTailwindFeatures?: string
|
|
143
|
-
plugin?: string
|
|
142
|
+
processTailwindFeatures?: string;
|
|
143
|
+
plugin?: string;
|
|
144
144
|
} & Record<string, any>;
|
|
145
145
|
declare function internalPatch(pkgJsonPath: string | undefined, options: InternalPatchOptions): any | undefined;
|
|
146
146
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tailwindcss-patch",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "patch tailwindcss for exposing context and extract classes",
|
|
5
5
|
"author": "SonOfMagic <qq1324318532@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"class"
|
|
20
20
|
],
|
|
21
21
|
"main": "./dist/index.cjs",
|
|
22
|
+
"module": "./dist/index.mjs",
|
|
22
23
|
"types": "./dist/index.d.ts",
|
|
23
24
|
"bin": {
|
|
24
25
|
"tw-patch": "bin/tw-patch.js",
|
|
@@ -51,7 +52,7 @@
|
|
|
51
52
|
"postcss": "^8.4.38",
|
|
52
53
|
"resolve": "^1.22.8",
|
|
53
54
|
"semver": "^7.6.2",
|
|
54
|
-
"@tailwindcss-mangle/config": "^
|
|
55
|
+
"@tailwindcss-mangle/config": "^3.0.0"
|
|
55
56
|
},
|
|
56
57
|
"devDependencies": {
|
|
57
58
|
"@types/babel__generator": "^7.6.8",
|