@weapp-tailwindcss/lynx 0.3.2 → 0.3.3

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.md CHANGED
@@ -34,6 +34,8 @@ Import Tailwind CSS 4 from the application CSS entry and point `@source` at the
34
34
 
35
35
  `pluginLynxTailwindcss` fixes `platform` to `'lynx'`, sets `generator.target` to `'web'`, and enables Lynx-compatible output. Tailwind CSS 4 theme variables are resolved at build time, while application-defined dynamic variables remain unchanged.
36
36
 
37
+ See the [ReactLynx / Rspeedy configuration reference](https://tw.icebreaker.top/docs/config/react-lynx) for the `generator`, `rspack`, CSS loader, and encoder options.
38
+
37
39
  The current integration supports ReactLynx + Rspeedy and Tailwind CSS 4. It does not cover Rspeedy Web output, non-React Lynx frameworks, or React Native-style runtime style mapping.
38
40
 
39
41
  ## Arbitrary values
package/README.zh-CN.md CHANGED
@@ -35,6 +35,8 @@ export default defineConfig({
35
35
 
36
36
  `pluginLynxTailwindcss` 固定使用 `platform: 'lynx'`、`generator.target: 'web'` 与 Lynx 原生兼容输出。Tailwind v4 theme 变量会在构建期静态化,确保 `bg-sky-500`、`p-6`、`text-lg` 等标准 utility 能进入 Lynx 原生样式表;应用自行定义的动态 CSS 变量保持不变。
37
37
 
38
+ 完整的 `generator`、`rspack`、CSS loader 和 encoder 配置项见 [ReactLynx / Rspeedy 配置参考](https://tw.icebreaker.top/zh-cn/docs/config/react-lynx)。
39
+
38
40
  当前集成支持 ReactLynx + Rspeedy 与 Tailwind CSS v4;不覆盖 Rspeedy Web 输出、非 React Lynx 框架或 React Native 风格的运行时样式映射。
39
41
 
40
42
  ## 任意值
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
+ import { PatchRspackConfigOptions } from "weapp-tailwindcss/rspack";
1
2
  import { RsbuildPlugin } from "@lynx-js/rspeedy";
2
3
  import { WeappTailwindcssGeneratorOptions } from "weapp-tailwindcss/generator";
3
- import { PatchRspackConfigOptions } from "weapp-tailwindcss/rspack";
4
4
  import { UserDefinedOptions } from "weapp-tailwindcss/types";
5
5
  //#region src/index.d.ts
6
6
  declare const PLUGIN_NAME = "weapp-tailwindcss:lynx";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weapp-tailwindcss/lynx",
3
3
  "type": "module",
4
- "version": "0.3.2",
4
+ "version": "0.3.3",
5
5
  "description": "Tailwind CSS integration for ReactLynx and Rspeedy cross-platform builds. 面向 ReactLynx 与 Rspeedy 跨端构建的 Tailwind CSS 集成。",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -43,7 +43,7 @@
43
43
  }
44
44
  },
45
45
  "dependencies": {
46
- "weapp-tailwindcss": "5.3.3"
46
+ "weapp-tailwindcss": "5.3.4"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@lynx-js/rspeedy": "^0.16.3",