@weapp-tailwindcss/merge 2.1.3 → 2.1.4
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/dist/index.cjs +4 -4
- package/package.json +5 -2
package/dist/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
let
|
|
1
|
+
let _weapp_tailwindcss_runtime = require("@weapp-tailwindcss/runtime");
|
|
2
2
|
let tailwind_merge = require("tailwind-merge");
|
|
3
3
|
|
|
4
4
|
//#region src/index.ts
|
|
5
|
-
const create = (0,
|
|
5
|
+
const create = (0, _weapp_tailwindcss_runtime.createRuntimeFactory)({
|
|
6
6
|
createTailwindMerge: tailwind_merge.createTailwindMerge,
|
|
7
7
|
extendTailwindMerge: tailwind_merge.extendTailwindMerge,
|
|
8
8
|
twJoin: tailwind_merge.twJoin,
|
|
9
9
|
twMerge: tailwind_merge.twMerge,
|
|
10
10
|
version: 3,
|
|
11
|
-
...(0,
|
|
11
|
+
...(0, _weapp_tailwindcss_runtime.createRpxLengthTransform)()
|
|
12
12
|
});
|
|
13
13
|
const { version: tailwindMergeVersion, twMerge, twJoin, extendTailwindMerge, createTailwindMerge } = create();
|
|
14
14
|
|
|
@@ -21,4 +21,4 @@ exports.mergeConfigs = tailwind_merge.mergeConfigs;
|
|
|
21
21
|
exports.tailwindMergeVersion = tailwindMergeVersion;
|
|
22
22
|
exports.twJoin = twJoin;
|
|
23
23
|
exports.twMerge = twMerge;
|
|
24
|
-
exports.weappTwIgnore =
|
|
24
|
+
exports.weappTwIgnore = _weapp_tailwindcss_runtime.weappTwIgnore;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-tailwindcss/merge",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.1.
|
|
4
|
+
"version": "2.1.4",
|
|
5
5
|
"description": "Tailwind Merge v3 的 weapp 运行时封装,自动处理 escape/unescape。",
|
|
6
6
|
"author": "ice breaker <1324318532@qq.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -43,13 +43,16 @@
|
|
|
43
43
|
"files": [
|
|
44
44
|
"dist"
|
|
45
45
|
],
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
48
|
+
},
|
|
46
49
|
"publishConfig": {
|
|
47
50
|
"access": "public"
|
|
48
51
|
},
|
|
49
52
|
"dependencies": {
|
|
50
53
|
"@weapp-core/escape": "^6.0.1",
|
|
51
54
|
"tailwind-merge": "^3.4.0",
|
|
52
|
-
"@weapp-tailwindcss/runtime": "0.1.
|
|
55
|
+
"@weapp-tailwindcss/runtime": "0.1.4"
|
|
53
56
|
},
|
|
54
57
|
"scripts": {
|
|
55
58
|
"dev": "tsdown --watch --sourcemap",
|