weapp-tailwindcss 5.0.3 → 5.0.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/README.en.md +9 -0
- package/README.md +5 -133
- package/dist/{auto-dPpsm6FB.js → auto-BZ4n4Icc.js} +1 -1
- package/dist/{bundle-state-s5HwfrmR.mjs → bundle-state-C-p9eFz1.mjs} +1 -1
- package/dist/{bundle-state-CW1X7QIy.js → bundle-state-D3RZHkXz.js} +2 -2
- package/dist/{chunk-C5U5_Hdc.js → chunk-D6vf50IK.js} +0 -14
- package/dist/core.js +1 -1
- package/dist/core.mjs +1 -1
- package/dist/css-macro.js +3 -3
- package/dist/{defaults-zKUH2mDe.js → defaults-C5w9OOrj.js} +1 -1
- package/dist/defaults.js +1 -1
- package/dist/{generator-Bd1LntD3.js → generator-DaPOkJ7W.js} +2 -2
- package/dist/generator.js +2 -2
- package/dist/gulp.js +6 -6
- package/dist/gulp.mjs +2 -2
- package/dist/{incremental-runtime-class-set-BdCWIuPW.js → incremental-runtime-class-set-BYV0yQdp.js} +4 -4
- package/dist/{incremental-runtime-class-set-BcAFhVvu.mjs → incremental-runtime-class-set-Dt-FUQB5.mjs} +1 -1
- package/dist/index.js +4 -4
- package/dist/index.mjs +2 -2
- package/dist/{postcss-DfnqZ4Bm.js → postcss-Du8hY-MN.js} +3 -3
- package/dist/postcss-html-transform.js +1 -1
- package/dist/postcss.js +1 -1
- package/dist/{precheck-8Ik4q0yI.js → precheck-DgpVCvYk.js} +5 -30
- package/dist/{precheck-h6TNzFbF.mjs → precheck-lfenbOTF.mjs} +5 -30
- package/dist/presets.js +4 -4
- package/dist/reset.js +1 -1
- package/dist/{source-candidates-DQxvGPSw.js → source-candidates-B4NvId_j.js} +2 -2
- package/dist/{tailwindcss-jvoYizzX.js → tailwindcss-26ZFr5kv.js} +3 -3
- package/dist/transform-Crn84vTL.js +257 -0
- package/dist/transform-FAxHXVZp.mjs +255 -0
- package/dist/{utils-D7Ygohep.js → utils-nta4tfFs.js} +1 -1
- package/dist/{v3-engine-CmIF_gsq.js → v3-engine-CBahpuIg.js} +2 -2
- package/dist/vite-DS4H5d0f.mjs +2616 -0
- package/dist/vite-tjYalmVX.js +2629 -0
- package/dist/vite.js +1 -1
- package/dist/vite.mjs +1 -1
- package/dist/{webpack-BFMJqCH9.js → webpack-0BwLOE_f.js} +8 -9
- package/dist/{webpack-E0gT72EX.mjs → webpack-CA-40WU9.mjs} +3 -4
- package/dist/webpack.js +1 -1
- package/dist/webpack.mjs +1 -1
- package/package.json +3 -3
- package/dist/vite-DT-VUrl0.js +0 -24750
- package/dist/vite-yCeZWm7n.mjs +0 -24736
package/README.en.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# weapp-tailwindcss
|
|
2
|
+
|
|
3
|
+
> English | [简体中文](./README.md)
|
|
4
|
+
|
|
5
|
+
This is the core package that brings Tailwind CSS to mini program ecosystems, handling class transformation, CSS compatibility, framework build adapters, and Tailwind v3/v4 support.
|
|
6
|
+
|
|
7
|
+
## Website
|
|
8
|
+
|
|
9
|
+
For setup guides, configuration references, and framework examples, see the [official weapp-tailwindcss documentation](https://tw.icebreaker.top).
|
package/README.md
CHANGED
|
@@ -1,137 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
# weapp-tailwindcss
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> 简体中文 | [English](./README.en.md)
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
</a>
|
|
5
|
+
这个包是把 Tailwind CSS 带到小程序生态的核心入口,负责类名转译、CSS 兼容、框架构建适配和 Tailwind v3/v4 支持。
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
## 官网
|
|
9
8
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
</p>
|
|
13
|
-
|
|
14
|
-
> 简体中文(zh-cn) | [English](./README_en.md)
|
|
15
|
-
|
|
16
|
-

|
|
17
|
-

|
|
18
|
-

|
|
19
|
-
[](https://github.com/sonofmagic/weapp-tailwindcss/actions/workflows/test.yml)
|
|
20
|
-
[](https://codecov.io/gh/sonofmagic/weapp-tailwindcss)
|
|
21
|
-
|
|
22
|
-
> [!NOTE]
|
|
23
|
-
> 降低开发维护成本,提升开发效率的 `小程序` `tailwindcss` 全方面解决方案
|
|
24
|
-
>
|
|
25
|
-
> `weapp-tailwindcss@4.2.x` 现已支持 `uni-app x` 同时构建 `Web`,`小程序`,`安卓`,`IOS`,`鸿蒙`,详见 [**uni-app x 专题**](https://tw.icebreaker.top/docs/uni-app-x)
|
|
26
|
-
|
|
27
|
-
\[[文档地址](https://tw.icebreaker.top)\] \| \[[备用文档地址](https://ice-tw.netlify.app/)\] \| \[[加入技术交流群](https://tw.icebreaker.top/docs/community/group)\]
|
|
28
|
-
|
|
29
|
-
- [特性](#特性)
|
|
30
|
-
- [版本对应](#版本对应)
|
|
31
|
-
- [安装与使用方式](#安装与使用方式)
|
|
32
|
-
- [生态和解决方案](#生态和解决方案)
|
|
33
|
-
- [常见问题](#常见问题)
|
|
34
|
-
- [各个框架的模板](#各个框架的模板)
|
|
35
|
-
- [旧版本迁移指南](#旧版本迁移指南)
|
|
36
|
-
- [配置项参考](#配置项参考)
|
|
37
|
-
- [Contribute](#contribute)
|
|
38
|
-
- [License](#license)
|
|
39
|
-
- [Star History](#star-history)
|
|
40
|
-
- [Related projects](#related-projects)
|
|
41
|
-
- [weapp-vite](#weapp-vite)
|
|
42
|
-
|
|
43
|
-
## 特性
|
|
44
|
-
|
|
45
|
-
| 不仅仅是`webpack` | 主流框架与原生开发支持 |
|
|
46
|
-
| --------------------------------------------------- | ----------------------------------------------- |
|
|
47
|
-
|  |  |
|
|
48
|
-
|
|
49
|
-
核心插件支持 `webpack`/`vite`/`rspack`/`rollup`/`rolldown`/`gulp` 为基底的框架类小程序开发,涵盖了市面上几乎所有的主流的开发框架。
|
|
50
|
-
|
|
51
|
-
也支持直接从各个开发者工具中,直接创建的原生小程序应用。
|
|
52
|
-
|
|
53
|
-
这些插件能够自动识别并精确处理所有 `tailwindcss` 的工具类来适配小程序环境。
|
|
54
|
-
|
|
55
|
-
## 版本对应
|
|
56
|
-
|
|
57
|
-
目前,`weapp-tailwindcss` 的 `5.x` 版本
|
|
58
|
-
|
|
59
|
-
- 支持最新版本的 `tailwindcss v4` 和 `v3`。
|
|
60
|
-
- 支持 `webpack5`、`vite`、`rspack`、`rollup`、`rolldown` 和 `gulp` 这些打包工具,也支持纯 `Nodejs` API 的方式,集成到你自己的构建工具中。
|
|
61
|
-
|
|
62
|
-
> `weapp-tailwindcss@5` 面向 Tailwind CSS v3/v4 和现代构建链路,不再内置 Webpack4、PostCSS7、Tailwind CSS v2 兼容入口。`weapp-tailwindcss@5` 需要 `nodejs` 版本 `^20.19.0 || >=22.12.0`,建议安装 `nodejs` 的 `LTS` 版本,详见 [nodejs/release](https://github.com/nodejs/release)
|
|
63
|
-
|
|
64
|
-
## [安装与使用方式](https://tw.icebreaker.top/docs/quick-start/install)
|
|
65
|
-
|
|
66
|
-
## [生态和解决方案](https://tw.icebreaker.top/docs/community/templates)
|
|
67
|
-
|
|
68
|
-
## [常见问题](https://tw.icebreaker.top/docs/issues/)
|
|
69
|
-
|
|
70
|
-
## [各个框架的模板](https://tw.icebreaker.top/docs/community/templates)
|
|
71
|
-
|
|
72
|
-
## [旧版本迁移指南](https://tw.icebreaker.top/docs/migrations/v2)
|
|
73
|
-
|
|
74
|
-
## [配置项参考](https://tw.icebreaker.top/docs/api/interfaces/UserDefinedOptions)
|
|
75
|
-
|
|
76
|
-
### Tailwind CSS 自动前缀
|
|
77
|
-
|
|
78
|
-
在 Tailwind CSS v3 / v4 场景下,`weapp-tailwindcss` 会默认对生成后的小程序 CSS 执行内置 `autoprefixer` 后处理,用于补齐小程序 WebView 需要的兼容前缀。例如 `bg-clip-text` 会输出 `-webkit-background-clip: text`,从而支持渐变文字。
|
|
79
|
-
|
|
80
|
-
通常不再需要在业务项目的 `postcss.config.js` 中手动配置 `autoprefixer`。如果项目已经显式配置了 `autoprefixer`,内置后处理会避免重复追加。需要关闭时可配置:
|
|
81
|
-
|
|
82
|
-
```ts
|
|
83
|
-
weappTailwindcss({
|
|
84
|
-
autoprefixer: false,
|
|
85
|
-
})
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
### uni-app x uvue 兼容提示
|
|
89
|
-
|
|
90
|
-
从当前版本开始,`uni-app x` 的 `uvue/nvue` 样式目标会额外过滤宿主不支持的 CSS selector 与 utility 声明,避免把非法 CSS 直接注入到 `App.uvue` 或页面样式中。
|
|
91
|
-
|
|
92
|
-
可通过 `uniAppX.uvueUnsupported` 控制行为:
|
|
93
|
-
|
|
94
|
-
- `warn`:默认值。跳过不兼容 utility,并输出 `uni-app x uvue unsupported utility` 警告。
|
|
95
|
-
- `error`:遇到不兼容 utility 直接报错,适合 CI 或严格校验场景。
|
|
96
|
-
- `silent`:跳过不兼容 utility,但不输出提示。
|
|
97
|
-
|
|
98
|
-
其中 `space-x-*` / `space-y-*` 不再继续输出非法兄弟组合器选择器,而是在 `uvue` 模板转换阶段对静态直接子节点展开为额外 class,并通过 `@apply ml-* / mt-*` 注入兼容样式。若同一静态容器 class 中同时出现 `space-x-reverse` / `space-y-reverse`,则会展开为 `mr-*` / `mb-*`。
|
|
99
|
-
|
|
100
|
-
示例:
|
|
101
|
-
|
|
102
|
-
```ts
|
|
103
|
-
import { uniAppX } from 'weapp-tailwindcss/presets'
|
|
104
|
-
|
|
105
|
-
export default uniAppX({
|
|
106
|
-
base: __dirname,
|
|
107
|
-
rem2rpx: true,
|
|
108
|
-
uniAppX: {
|
|
109
|
-
uvueUnsupported: 'warn',
|
|
110
|
-
},
|
|
111
|
-
})
|
|
112
|
-
```
|
|
113
|
-
|
|
114
|
-
## Contribute
|
|
115
|
-
|
|
116
|
-
我们邀请你来贡献和帮助改进 `weapp-tailwindcss` 💚💚💚
|
|
117
|
-
|
|
118
|
-
以下有几个方式可以参与:
|
|
119
|
-
|
|
120
|
-
- 报告错误:如果您遇到任何错误或问题,请提`issue`并提供完善的错误信息和复现方式。
|
|
121
|
-
- 建议:有增强 `weapp-tailwindcss` 的想法吗?请提 `issue` 来分享您的建议。
|
|
122
|
-
- 文档:如果您对文档有更好的见解或者更棒的修辞方式,欢迎 `pr`。
|
|
123
|
-
- 代码:任何人的代码都不是完美的,我们欢迎你通过 `pr` 给代码提供更好的质量与活力。
|
|
124
|
-
|
|
125
|
-
## License
|
|
126
|
-
|
|
127
|
-
[MIT](./LICENSE)
|
|
128
|
-
|
|
129
|
-
## Star History
|
|
130
|
-
|
|
131
|
-
[](https://star-history.com/#sonofmagic/weapp-tailwindcss&Date)
|
|
132
|
-
|
|
133
|
-
## Related projects
|
|
134
|
-
|
|
135
|
-
### weapp-vite
|
|
136
|
-
|
|
137
|
-
[weapp-vite](https://vite.icebreaker.top/): 把现代化的开发模式带入小程序开发!
|
|
9
|
+
更多接入方式、配置说明和框架示例见 [weapp-tailwindcss 官方文档](https://tw.icebreaker.top)。
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as traverse, m as babelParse, o as Parser } from "./precheck-lfenbOTF.mjs";
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
3
|
import process from "node:process";
|
|
4
4
|
import path from "node:path";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-
|
|
2
|
-
const require_precheck = require("./precheck-
|
|
1
|
+
const require_chunk = require("./chunk-D6vf50IK.js");
|
|
2
|
+
const require_precheck = require("./precheck-DgpVCvYk.js");
|
|
3
3
|
let node_module = require("node:module");
|
|
4
4
|
let node_process = require("node:process");
|
|
5
5
|
node_process = require_chunk.__toESM(node_process);
|
|
@@ -5,8 +5,6 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __getProtoOf = Object.getPrototypeOf;
|
|
7
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
9
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
10
8
|
var __copyProps = (to, from, except, desc) => {
|
|
11
9
|
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
12
10
|
key = keys[i];
|
|
@@ -22,18 +20,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
22
20
|
enumerable: true
|
|
23
21
|
}) : target, mod));
|
|
24
22
|
//#endregion
|
|
25
|
-
Object.defineProperty(exports, "__commonJSMin", {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function() {
|
|
28
|
-
return __commonJSMin;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, "__esmMin", {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function() {
|
|
34
|
-
return __esmMin;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
23
|
Object.defineProperty(exports, "__toESM", {
|
|
38
24
|
enumerable: true,
|
|
39
25
|
get: function() {
|
package/dist/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_precheck = require("./precheck-
|
|
2
|
+
const require_precheck = require("./precheck-DgpVCvYk.js");
|
|
3
3
|
let _weapp_tailwindcss_shared = require("@weapp-tailwindcss/shared");
|
|
4
4
|
//#region src/core.ts
|
|
5
5
|
const DEFAULT_MAIN_CHUNK_STYLE_OPTIONS = Object.freeze({ isMainChunk: true });
|
package/dist/core.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as getCompilerContext, t as shouldSkipJsTransform, v as createTailwindRuntimeReadyPromise, y as ensureRuntimeClassSet } from "./precheck-lfenbOTF.mjs";
|
|
2
2
|
import { defuOverrideArray } from "@weapp-tailwindcss/shared";
|
|
3
3
|
//#region src/core.ts
|
|
4
4
|
const DEFAULT_MAIN_CHUNK_STYLE_OPTIONS = Object.freeze({ isMainChunk: true });
|
package/dist/css-macro.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-
|
|
1
|
+
const require_chunk = require("./chunk-D6vf50IK.js");
|
|
2
2
|
const require_postcss = require("./postcss-CiYLsqZn.js");
|
|
3
|
-
const require_auto = require("./auto-
|
|
4
|
-
require("./utils-
|
|
3
|
+
const require_auto = require("./auto-BZ4n4Icc.js");
|
|
4
|
+
require("./utils-nta4tfFs.js");
|
|
5
5
|
let tailwindcss_plugin = require("tailwindcss/plugin");
|
|
6
6
|
tailwindcss_plugin = require_chunk.__toESM(tailwindcss_plugin);
|
|
7
7
|
let _weapp_tailwindcss_shared = require("@weapp-tailwindcss/shared");
|
package/dist/defaults.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_defaults = require("./defaults-
|
|
2
|
+
const require_defaults = require("./defaults-C5w9OOrj.js");
|
|
3
3
|
exports.TAILWIND_V3_CSS_PREFLIGHT = require_defaults.TAILWIND_V3_CSS_PREFLIGHT;
|
|
4
4
|
exports.TAILWIND_V4_CSS_PREFLIGHT = require_defaults.TAILWIND_V4_CSS_PREFLIGHT;
|
|
5
5
|
exports.getDefaultCssPreflight = require_defaults.getDefaultCssPreflight;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-
|
|
2
|
-
const require_v3_engine = require("./v3-engine-
|
|
1
|
+
const require_chunk = require("./chunk-D6vf50IK.js");
|
|
2
|
+
const require_v3_engine = require("./v3-engine-CBahpuIg.js");
|
|
3
3
|
let node_process = require("node:process");
|
|
4
4
|
node_process = require_chunk.__toESM(node_process);
|
|
5
5
|
//#region src/generator/options.ts
|
package/dist/generator.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_v3_engine = require("./v3-engine-
|
|
3
|
-
const require_generator = require("./generator-
|
|
2
|
+
const require_v3_engine = require("./v3-engine-CBahpuIg.js");
|
|
3
|
+
const require_generator = require("./generator-DaPOkJ7W.js");
|
|
4
4
|
let tailwindcss_patch = require("tailwindcss-patch");
|
|
5
5
|
exports.createWeappTailwindcssGenerator = require_generator.createWeappTailwindcssGenerator;
|
|
6
6
|
exports.createWeappTailwindcssGeneratorFromPatcher = require_generator.createWeappTailwindcssGeneratorFromPatcher;
|
package/dist/gulp.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_chunk = require("./chunk-
|
|
3
|
-
const require_v3_engine = require("./v3-engine-
|
|
4
|
-
const require_precheck = require("./precheck-
|
|
5
|
-
const require_tailwindcss = require("./tailwindcss-
|
|
6
|
-
const require_incremental_runtime_class_set = require("./incremental-runtime-class-set-
|
|
7
|
-
const require_source_candidates = require("./source-candidates-
|
|
2
|
+
const require_chunk = require("./chunk-D6vf50IK.js");
|
|
3
|
+
const require_v3_engine = require("./v3-engine-CBahpuIg.js");
|
|
4
|
+
const require_precheck = require("./precheck-DgpVCvYk.js");
|
|
5
|
+
const require_tailwindcss = require("./tailwindcss-26ZFr5kv.js");
|
|
6
|
+
const require_incremental_runtime_class_set = require("./incremental-runtime-class-set-BYV0yQdp.js");
|
|
7
|
+
const require_source_candidates = require("./source-candidates-B4NvId_j.js");
|
|
8
8
|
let node_fs = require("node:fs");
|
|
9
9
|
node_fs = require_chunk.__toESM(node_fs);
|
|
10
10
|
let node_process = require("node:process");
|
package/dist/gulp.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { b as ensureRuntimeClassSet, n as getCompilerContext, t as shouldSkipJsTransform, y as createTailwindRuntimeReadyPromise } from "./precheck-h6TNzFbF.mjs";
|
|
2
1
|
import { E as normalizeTailwindConfigDirectives, O as normalizeTailwindSourceForGenerator, _ as resolveViteSourceScanEntries, ct as createDebug, l as getRuntimeClassSetSignature, w as hasTailwindRootDirectives } from "./v3-engine-BCUGX3gX.mjs";
|
|
2
|
+
import { n as getCompilerContext, t as shouldSkipJsTransform, v as createTailwindRuntimeReadyPromise, y as ensureRuntimeClassSet } from "./precheck-lfenbOTF.mjs";
|
|
3
3
|
import { c as hasConfiguredTailwindV4CssRoots, l as upsertTailwindV4CssSource } from "./tailwindcss-D5RogwtV.mjs";
|
|
4
|
-
import { i as generateCssByGenerator, r as emitHmrTiming, s as processCachedTask, t as createBundleRuntimeClassSetManager } from "./incremental-runtime-class-set-
|
|
4
|
+
import { i as generateCssByGenerator, r as emitHmrTiming, s as processCachedTask, t as createBundleRuntimeClassSetManager } from "./incremental-runtime-class-set-Dt-FUQB5.mjs";
|
|
5
5
|
import { n as createTailwindV3DefaultExtractor, t as createSourceCandidateCollector } from "./source-candidates-D7b-Jzsx.mjs";
|
|
6
6
|
import fs from "node:fs";
|
|
7
7
|
import process from "node:process";
|
package/dist/{incremental-runtime-class-set-BdCWIuPW.js → incremental-runtime-class-set-BYV0yQdp.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-
|
|
2
|
-
const require_v3_engine = require("./v3-engine-
|
|
3
|
-
const require_generator = require("./generator-
|
|
4
|
-
const require_precheck = require("./precheck-
|
|
1
|
+
const require_chunk = require("./chunk-D6vf50IK.js");
|
|
2
|
+
const require_v3_engine = require("./v3-engine-CBahpuIg.js");
|
|
3
|
+
const require_generator = require("./generator-DaPOkJ7W.js");
|
|
4
|
+
const require_precheck = require("./precheck-DgpVCvYk.js");
|
|
5
5
|
let node_fs = require("node:fs");
|
|
6
6
|
let postcss = require("postcss");
|
|
7
7
|
postcss = require_chunk.__toESM(postcss);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { m as replaceWxml, r as resolveStyleOptionsFromContext } from "./precheck-h6TNzFbF.mjs";
|
|
2
1
|
import { A as parseImportRequest, B as stripGeneratorPlaceholderMarkers, C as hasTailwindApplyDirective, D as normalizeTailwindSourceDirectives, F as hasTailwindGeneratedCss, H as stripTailwindBanners, I as hasTailwindGeneratedCssMarkers, J as filterUnsupportedMiniProgramTailwindV4Candidates, L as splitGeneratorPlaceholderCssBySourceOrder, M as resolveCssEntrySource, N as VITE_MARKER_RE, P as createCssAppend, R as splitTailwindGeneratedCssByBanner, S as resolveTailwindV4SourceOptionsFromPatcher, T as hasTailwindSourceDirectives, U as normalizeConfigDirective, V as stripTailwindBanner, W as prependConfigDirective, Y as loadTailwindV4DesignSystem, ct as createDebug, h as resolveTailwindV4EntriesFromCss, ht as omitUndefined, j as removeTailwindSourceDirectives, k as normalizeTailwindV3CssEntrySource, l as getRuntimeClassSetSignature, n as resolveTailwindV3SourceFromPatcher, nt as normalizeLegacyContentEntries, ot as resolveTailwindV4CssSourceBase, r as resolveTailwindV3SourceOptionsFromPatcher, t as resolveTailwindV3Source, w as hasTailwindRootDirectives, x as resolveTailwindV4SourceFromPatcher, y as resolveTailwindV4Source$1, z as splitTailwindV4GeneratedCssBySourceOrder } from "./v3-engine-BCUGX3gX.mjs";
|
|
3
2
|
import { i as normalizeWeappTailwindcssGeneratorOptions, t as createWeappTailwindcssGenerator } from "./generator-DRHWC1t-.mjs";
|
|
3
|
+
import { p as replaceWxml, r as resolveStyleOptionsFromContext } from "./precheck-lfenbOTF.mjs";
|
|
4
4
|
import { existsSync, readFileSync } from "node:fs";
|
|
5
5
|
import postcss from "postcss";
|
|
6
6
|
import { extractRawCandidatesWithPositions, extractSourceCandidates, extractValidCandidates, resolveValidTailwindV4Candidates } from "tailwindcss-patch";
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_generator = require("./generator-
|
|
2
|
+
const require_generator = require("./generator-DaPOkJ7W.js");
|
|
3
3
|
const require_gulp = require("./gulp.js");
|
|
4
|
-
const require_postcss = require("./postcss-
|
|
5
|
-
const require_vite = require("./vite-
|
|
6
|
-
const require_webpack = require("./webpack-
|
|
4
|
+
const require_postcss = require("./postcss-Du8hY-MN.js");
|
|
5
|
+
const require_vite = require("./vite-tjYalmVX.js");
|
|
6
|
+
const require_webpack = require("./webpack-0BwLOE_f.js");
|
|
7
7
|
let _weapp_tailwindcss_postcss = require("@weapp-tailwindcss/postcss");
|
|
8
8
|
exports.WeappTailwindcss = require_vite.WeappTailwindcss;
|
|
9
9
|
exports.createPlugins = require_gulp.createPlugins;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as createWeappTailwindcssGenerator } from "./generator-DRHWC1t-.mjs";
|
|
2
2
|
import { WeappTailwindcss as createPlugins } from "./gulp.mjs";
|
|
3
3
|
import { t as weappTailwindcssPostcssPlugin } from "./postcss-CJrmfXvi.mjs";
|
|
4
|
-
import { t as WeappTailwindcss } from "./vite-
|
|
5
|
-
import { n as weappTailwindcssPackageDir } from "./webpack-
|
|
4
|
+
import { t as WeappTailwindcss } from "./vite-DS4H5d0f.mjs";
|
|
5
|
+
import { n as weappTailwindcssPackageDir } from "./webpack-CA-40WU9.mjs";
|
|
6
6
|
import { unitConversionComposeRules, unitConversionPresets } from "@weapp-tailwindcss/postcss";
|
|
7
7
|
export { WeappTailwindcss, createPlugins, createWeappTailwindcssGenerator, unitConversionComposeRules, unitConversionPresets, weappTailwindcssPackageDir, weappTailwindcssPostcssPlugin };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-
|
|
2
|
-
const require_v3_engine = require("./v3-engine-
|
|
3
|
-
const require_generator = require("./generator-
|
|
1
|
+
const require_chunk = require("./chunk-D6vf50IK.js");
|
|
2
|
+
const require_v3_engine = require("./v3-engine-CBahpuIg.js");
|
|
3
|
+
const require_generator = require("./generator-DaPOkJ7W.js");
|
|
4
4
|
let postcss = require("postcss");
|
|
5
5
|
postcss = require_chunk.__toESM(postcss);
|
|
6
6
|
let tailwindcss_patch = require("tailwindcss-patch");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-
|
|
1
|
+
const require_chunk = require("./chunk-D6vf50IK.js");
|
|
2
2
|
let _weapp_tailwindcss_postcss_html_transform = require("@weapp-tailwindcss/postcss/html-transform");
|
|
3
3
|
_weapp_tailwindcss_postcss_html_transform = require_chunk.__toESM(_weapp_tailwindcss_postcss_html_transform);
|
|
4
4
|
//#region src/postcss-html-transform.ts
|
package/dist/postcss.js
CHANGED
|
@@ -2,6 +2,6 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
-
const require_postcss = require("./postcss-
|
|
5
|
+
const require_postcss = require("./postcss-Du8hY-MN.js");
|
|
6
6
|
exports.default = require_postcss.weappTailwindcssPostcssPlugin;
|
|
7
7
|
exports.weappTailwindcssPostcssPlugin = require_postcss.weappTailwindcssPostcssPlugin;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const require_chunk = require("./chunk-
|
|
2
|
-
const require_v3_engine = require("./v3-engine-
|
|
3
|
-
const require_defaults = require("./defaults-
|
|
4
|
-
require("./utils-
|
|
5
|
-
const require_tailwindcss = require("./tailwindcss-
|
|
1
|
+
const require_chunk = require("./chunk-D6vf50IK.js");
|
|
2
|
+
const require_v3_engine = require("./v3-engine-CBahpuIg.js");
|
|
3
|
+
const require_defaults = require("./defaults-C5w9OOrj.js");
|
|
4
|
+
require("./utils-nta4tfFs.js");
|
|
5
|
+
const require_tailwindcss = require("./tailwindcss-26ZFr5kv.js");
|
|
6
6
|
let tailwindcss_patch = require("tailwindcss-patch");
|
|
7
7
|
let node_process = require("node:process");
|
|
8
8
|
node_process = require_chunk.__toESM(node_process);
|
|
@@ -1239,7 +1239,6 @@ function _typeof(o) {
|
|
|
1239
1239
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
1240
1240
|
}, _typeof(o);
|
|
1241
1241
|
}
|
|
1242
|
-
var init_typeof = require_chunk.__esmMin((() => {}));
|
|
1243
1242
|
//#endregion
|
|
1244
1243
|
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/toPrimitive.js
|
|
1245
1244
|
function toPrimitive(t, r) {
|
|
@@ -1252,19 +1251,12 @@ function toPrimitive(t, r) {
|
|
|
1252
1251
|
}
|
|
1253
1252
|
return ("string" === r ? String : Number)(t);
|
|
1254
1253
|
}
|
|
1255
|
-
var init_toPrimitive = require_chunk.__esmMin((() => {
|
|
1256
|
-
init_typeof();
|
|
1257
|
-
}));
|
|
1258
1254
|
//#endregion
|
|
1259
1255
|
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/toPropertyKey.js
|
|
1260
1256
|
function toPropertyKey(t) {
|
|
1261
1257
|
var i = toPrimitive(t, "string");
|
|
1262
1258
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
1263
1259
|
}
|
|
1264
|
-
var init_toPropertyKey = require_chunk.__esmMin((() => {
|
|
1265
|
-
init_typeof();
|
|
1266
|
-
init_toPrimitive();
|
|
1267
|
-
}));
|
|
1268
1260
|
//#endregion
|
|
1269
1261
|
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/defineProperty.js
|
|
1270
1262
|
function _defineProperty(e, r, t) {
|
|
@@ -1275,12 +1267,8 @@ function _defineProperty(e, r, t) {
|
|
|
1275
1267
|
writable: !0
|
|
1276
1268
|
}) : e[r] = t, e;
|
|
1277
1269
|
}
|
|
1278
|
-
var init_defineProperty = require_chunk.__esmMin((() => {
|
|
1279
|
-
init_toPropertyKey();
|
|
1280
|
-
}));
|
|
1281
1270
|
//#endregion
|
|
1282
1271
|
//#region src/js/JsTokenUpdater.ts
|
|
1283
|
-
init_defineProperty();
|
|
1284
1272
|
/**
|
|
1285
1273
|
* Lightweight helper that batches updates to {@link MagicString}.
|
|
1286
1274
|
* It keeps the transformation logic out of the traversal code and makes
|
|
@@ -1319,7 +1307,6 @@ var JsTokenUpdater = class {
|
|
|
1319
1307
|
};
|
|
1320
1308
|
//#endregion
|
|
1321
1309
|
//#region src/js/module-graph/ignored-exports.ts
|
|
1322
|
-
init_defineProperty();
|
|
1323
1310
|
var IgnoredExportsTracker = class {
|
|
1324
1311
|
constructor(options) {
|
|
1325
1312
|
this.options = options;
|
|
@@ -1440,7 +1427,6 @@ var IgnoredExportsTracker = class {
|
|
|
1440
1427
|
};
|
|
1441
1428
|
//#endregion
|
|
1442
1429
|
//#region src/js/ModuleGraph.ts
|
|
1443
|
-
init_defineProperty();
|
|
1444
1430
|
var JsModuleGraph = class {
|
|
1445
1431
|
constructor(entry, graphOptions) {
|
|
1446
1432
|
_defineProperty(this, "modules", /* @__PURE__ */ new Map());
|
|
@@ -1615,7 +1601,6 @@ function maybeAddImportToken(imports, arg) {
|
|
|
1615
1601
|
}
|
|
1616
1602
|
//#endregion
|
|
1617
1603
|
//#region src/js/NodePathWalker.ts
|
|
1618
|
-
init_defineProperty();
|
|
1619
1604
|
const EMPTY_IGNORE_CALL_EXPRESSION_IDENTIFIERS = [];
|
|
1620
1605
|
const EMPTY_IMPORT_TOKENS = /* @__PURE__ */ new Set();
|
|
1621
1606
|
function NOOP_STRING_PATH_CALLBACK() {}
|
|
@@ -2334,7 +2319,6 @@ var BinTrieFlags;
|
|
|
2334
2319
|
})(BinTrieFlags || (BinTrieFlags = {}));
|
|
2335
2320
|
//#endregion
|
|
2336
2321
|
//#region ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js
|
|
2337
|
-
init_defineProperty();
|
|
2338
2322
|
var CharCodes$1;
|
|
2339
2323
|
(function(CharCodes) {
|
|
2340
2324
|
CharCodes[CharCodes["NUM"] = 35] = "NUM";
|
|
@@ -2705,7 +2689,6 @@ function determineBranch(decodeTree, current, nodeIndex, char) {
|
|
|
2705
2689
|
}
|
|
2706
2690
|
//#endregion
|
|
2707
2691
|
//#region ../../node_modules/.pnpm/htmlparser2@12.0.0/node_modules/htmlparser2/dist/Tokenizer.js
|
|
2708
|
-
init_defineProperty();
|
|
2709
2692
|
var CharCodes;
|
|
2710
2693
|
(function(CharCodes) {
|
|
2711
2694
|
CharCodes[CharCodes["Tab"] = 9] = "Tab";
|
|
@@ -3648,7 +3631,6 @@ var Tokenizer$1 = class {
|
|
|
3648
3631
|
};
|
|
3649
3632
|
//#endregion
|
|
3650
3633
|
//#region ../../node_modules/.pnpm/htmlparser2@12.0.0/node_modules/htmlparser2/dist/Parser.js
|
|
3651
|
-
init_defineProperty();
|
|
3652
3634
|
const { fromCodePoint } = String;
|
|
3653
3635
|
const formTags = new Set([
|
|
3654
3636
|
"input",
|
|
@@ -4258,7 +4240,6 @@ function isAllWhitespace(value) {
|
|
|
4258
4240
|
}
|
|
4259
4241
|
//#endregion
|
|
4260
4242
|
//#region src/wxml/Tokenizer.ts
|
|
4261
|
-
init_defineProperty();
|
|
4262
4243
|
var Tokenizer = class {
|
|
4263
4244
|
constructor() {
|
|
4264
4245
|
_defineProperty(this, "state", void 0);
|
|
@@ -4780,12 +4761,6 @@ Object.defineProperty(exports, "getCompilerContext", {
|
|
|
4780
4761
|
return getCompilerContext;
|
|
4781
4762
|
}
|
|
4782
4763
|
});
|
|
4783
|
-
Object.defineProperty(exports, "init_defineProperty", {
|
|
4784
|
-
enumerable: true,
|
|
4785
|
-
get: function() {
|
|
4786
|
-
return init_defineProperty;
|
|
4787
|
-
}
|
|
4788
|
-
});
|
|
4789
4764
|
Object.defineProperty(exports, "isClassContextLiteralPath", {
|
|
4790
4765
|
enumerable: true,
|
|
4791
4766
|
get: function() {
|
|
@@ -2,14 +2,13 @@ import { G as createTailwindV4Engine$1, c as getRuntimeClassSetCacheEntry, ct as
|
|
|
2
2
|
import { a as resolveDefaultCssPreflight, i as getDefaultOptions, o as DEFAULT_PARSE_CACHE_MAX_SOURCE_LENGTH, s as HARD_PARSE_CACHE_MAX_ENTRIES } from "./defaults-8xrgzxFY.mjs";
|
|
3
3
|
import { i as isMap, n as defuOverrideArray } from "./utils-DsaS975I.mjs";
|
|
4
4
|
import { i as resolveUniAppXOptions, o as applyV4CssCalcDefaults, s as warnMissingCssEntries, t as createTailwindcssPatcherFromContext } from "./tailwindcss-D5RogwtV.mjs";
|
|
5
|
-
import { createRequire } from "node:module";
|
|
6
5
|
import { splitCandidateTokens } from "tailwindcss-patch";
|
|
7
6
|
import process from "node:process";
|
|
8
7
|
import path from "node:path";
|
|
9
8
|
import { logger, pc } from "@weapp-tailwindcss/logger";
|
|
10
9
|
import { rm } from "node:fs/promises";
|
|
11
10
|
import { createStyleHandler } from "@weapp-tailwindcss/postcss";
|
|
12
|
-
import { Buffer
|
|
11
|
+
import { Buffer } from "node:buffer";
|
|
13
12
|
import { LRUCache } from "lru-cache";
|
|
14
13
|
import { md5 as md5Hash } from "@weapp-tailwindcss/shared/node";
|
|
15
14
|
import { MappingChars2String, escape } from "@weapp-core/escape";
|
|
@@ -18,11 +17,6 @@ import { parse, parseExpression } from "@babel/parser";
|
|
|
18
17
|
import MagicString from "magic-string";
|
|
19
18
|
import { jsStringEscape } from "@ast-core/escape";
|
|
20
19
|
import * as t from "@babel/types";
|
|
21
|
-
//#region \0rolldown/runtime.js
|
|
22
|
-
var __esmMin = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
23
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
24
|
-
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
25
|
-
//#endregion
|
|
26
20
|
//#region src/cache/index.ts
|
|
27
21
|
function isProcessResult(value) {
|
|
28
22
|
return typeof value === "object" && value !== null && "result" in value;
|
|
@@ -484,13 +478,13 @@ function normalizeOptionsValue(rawValue, stack = /* @__PURE__ */ new WeakSet())
|
|
|
484
478
|
source: rawValue.source,
|
|
485
479
|
flags: rawValue.flags
|
|
486
480
|
};
|
|
487
|
-
if (typeof Buffer
|
|
481
|
+
if (typeof Buffer !== "undefined" && Buffer.isBuffer(rawValue)) return encodeTaggedValue("Buffer", rawValue.toString("base64"));
|
|
488
482
|
if (ArrayBuffer.isView(rawValue)) {
|
|
489
483
|
const view = rawValue;
|
|
490
|
-
const buffer = Buffer
|
|
484
|
+
const buffer = Buffer.from(view.buffer, view.byteOffset, view.byteLength);
|
|
491
485
|
return encodeTaggedValue(view.constructor?.name ?? "ArrayBufferView", buffer.toString("base64"));
|
|
492
486
|
}
|
|
493
|
-
if (rawValue instanceof ArrayBuffer) return encodeTaggedValue("ArrayBuffer", Buffer
|
|
487
|
+
if (rawValue instanceof ArrayBuffer) return encodeTaggedValue("ArrayBuffer", Buffer.from(rawValue).toString("base64"));
|
|
494
488
|
if (rawValue instanceof Set) return withCircularGuard(rawValue, stack, () => {
|
|
495
489
|
const normalizedEntries = Array.from(rawValue, (element) => createComparableNormalizedValue(element, stack));
|
|
496
490
|
normalizedEntries.sort((a, b) => a.sortKey.localeCompare(b.sortKey));
|
|
@@ -1238,7 +1232,6 @@ function _typeof(o) {
|
|
|
1238
1232
|
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
1239
1233
|
}, _typeof(o);
|
|
1240
1234
|
}
|
|
1241
|
-
var init_typeof = __esmMin((() => {}));
|
|
1242
1235
|
//#endregion
|
|
1243
1236
|
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/toPrimitive.js
|
|
1244
1237
|
function toPrimitive(t, r) {
|
|
@@ -1251,19 +1244,12 @@ function toPrimitive(t, r) {
|
|
|
1251
1244
|
}
|
|
1252
1245
|
return ("string" === r ? String : Number)(t);
|
|
1253
1246
|
}
|
|
1254
|
-
var init_toPrimitive = __esmMin((() => {
|
|
1255
|
-
init_typeof();
|
|
1256
|
-
}));
|
|
1257
1247
|
//#endregion
|
|
1258
1248
|
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/toPropertyKey.js
|
|
1259
1249
|
function toPropertyKey(t) {
|
|
1260
1250
|
var i = toPrimitive(t, "string");
|
|
1261
1251
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
1262
1252
|
}
|
|
1263
|
-
var init_toPropertyKey = __esmMin((() => {
|
|
1264
|
-
init_typeof();
|
|
1265
|
-
init_toPrimitive();
|
|
1266
|
-
}));
|
|
1267
1253
|
//#endregion
|
|
1268
1254
|
//#region \0@oxc-project+runtime@0.134.0/helpers/esm/defineProperty.js
|
|
1269
1255
|
function _defineProperty(e, r, t) {
|
|
@@ -1274,12 +1260,8 @@ function _defineProperty(e, r, t) {
|
|
|
1274
1260
|
writable: !0
|
|
1275
1261
|
}) : e[r] = t, e;
|
|
1276
1262
|
}
|
|
1277
|
-
var init_defineProperty = __esmMin((() => {
|
|
1278
|
-
init_toPropertyKey();
|
|
1279
|
-
}));
|
|
1280
1263
|
//#endregion
|
|
1281
1264
|
//#region src/js/JsTokenUpdater.ts
|
|
1282
|
-
init_defineProperty();
|
|
1283
1265
|
/**
|
|
1284
1266
|
* Lightweight helper that batches updates to {@link MagicString}.
|
|
1285
1267
|
* It keeps the transformation logic out of the traversal code and makes
|
|
@@ -1318,7 +1300,6 @@ var JsTokenUpdater = class {
|
|
|
1318
1300
|
};
|
|
1319
1301
|
//#endregion
|
|
1320
1302
|
//#region src/js/module-graph/ignored-exports.ts
|
|
1321
|
-
init_defineProperty();
|
|
1322
1303
|
var IgnoredExportsTracker = class {
|
|
1323
1304
|
constructor(options) {
|
|
1324
1305
|
this.options = options;
|
|
@@ -1439,7 +1420,6 @@ var IgnoredExportsTracker = class {
|
|
|
1439
1420
|
};
|
|
1440
1421
|
//#endregion
|
|
1441
1422
|
//#region src/js/ModuleGraph.ts
|
|
1442
|
-
init_defineProperty();
|
|
1443
1423
|
var JsModuleGraph = class {
|
|
1444
1424
|
constructor(entry, graphOptions) {
|
|
1445
1425
|
_defineProperty(this, "modules", /* @__PURE__ */ new Map());
|
|
@@ -1614,7 +1594,6 @@ function maybeAddImportToken(imports, arg) {
|
|
|
1614
1594
|
}
|
|
1615
1595
|
//#endregion
|
|
1616
1596
|
//#region src/js/NodePathWalker.ts
|
|
1617
|
-
init_defineProperty();
|
|
1618
1597
|
const EMPTY_IGNORE_CALL_EXPRESSION_IDENTIFIERS = [];
|
|
1619
1598
|
const EMPTY_IMPORT_TOKENS = /* @__PURE__ */ new Set();
|
|
1620
1599
|
function NOOP_STRING_PATH_CALLBACK() {}
|
|
@@ -2333,7 +2312,6 @@ var BinTrieFlags;
|
|
|
2333
2312
|
})(BinTrieFlags || (BinTrieFlags = {}));
|
|
2334
2313
|
//#endregion
|
|
2335
2314
|
//#region ../../node_modules/.pnpm/entities@8.0.0/node_modules/entities/dist/decode.js
|
|
2336
|
-
init_defineProperty();
|
|
2337
2315
|
var CharCodes$1;
|
|
2338
2316
|
(function(CharCodes) {
|
|
2339
2317
|
CharCodes[CharCodes["NUM"] = 35] = "NUM";
|
|
@@ -2704,7 +2682,6 @@ function determineBranch(decodeTree, current, nodeIndex, char) {
|
|
|
2704
2682
|
}
|
|
2705
2683
|
//#endregion
|
|
2706
2684
|
//#region ../../node_modules/.pnpm/htmlparser2@12.0.0/node_modules/htmlparser2/dist/Tokenizer.js
|
|
2707
|
-
init_defineProperty();
|
|
2708
2685
|
var CharCodes;
|
|
2709
2686
|
(function(CharCodes) {
|
|
2710
2687
|
CharCodes[CharCodes["Tab"] = 9] = "Tab";
|
|
@@ -3647,7 +3624,6 @@ var Tokenizer$1 = class {
|
|
|
3647
3624
|
};
|
|
3648
3625
|
//#endregion
|
|
3649
3626
|
//#region ../../node_modules/.pnpm/htmlparser2@12.0.0/node_modules/htmlparser2/dist/Parser.js
|
|
3650
|
-
init_defineProperty();
|
|
3651
3627
|
const { fromCodePoint } = String;
|
|
3652
3628
|
const formTags = new Set([
|
|
3653
3629
|
"input",
|
|
@@ -4257,7 +4233,6 @@ function isAllWhitespace(value) {
|
|
|
4257
4233
|
}
|
|
4258
4234
|
//#endregion
|
|
4259
4235
|
//#region src/wxml/Tokenizer.ts
|
|
4260
|
-
init_defineProperty();
|
|
4261
4236
|
var Tokenizer = class {
|
|
4262
4237
|
constructor() {
|
|
4263
4238
|
_defineProperty(this, "state", void 0);
|
|
@@ -4713,4 +4688,4 @@ function shouldSkipJsTransform(rawSource, options) {
|
|
|
4713
4688
|
return !FAST_JS_TRANSFORM_HINT_RE.test(rawSource);
|
|
4714
4689
|
}
|
|
4715
4690
|
//#endregion
|
|
4716
|
-
export {
|
|
4691
|
+
export { collectRuntimeClassSet as _, vitePluginName as a, refreshTailwindRuntimeState as b, createAttributeMatcher as c, _defineProperty as d, isClassContextLiteralPath as f, toCustomAttributesEntities as g, traverse as h, pluginName as i, analyzeSource as l, babelParse as m, getCompilerContext as n, Parser as o, replaceWxml as p, resolveStyleOptionsFromContext as r, generateCode as s, shouldSkipJsTransform as t, JsTokenUpdater as u, createTailwindRuntimeReadyPromise as v, ensureRuntimeClassSet as y };
|