@weapp-tailwindcss/lynx 0.3.10 → 0.3.11
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.d.ts +3 -3
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { UserDefinedOptions } from "weapp-tailwindcss/types";
|
|
|
6
6
|
declare const PLUGIN_NAME = "weapp-tailwindcss:lynx";
|
|
7
7
|
interface LynxGeneratorOptions extends Omit<WeappTailwindcssGeneratorOptions, 'target'> {}
|
|
8
8
|
/** ReactLynx Rspeedy 适配配置。 */
|
|
9
|
-
interface LynxTailwindcssOptions extends Omit<UserDefinedOptions, 'platform' | 'generator'> {
|
|
9
|
+
export interface LynxTailwindcssOptions extends Omit<UserDefinedOptions, 'platform' | 'generator'> {
|
|
10
10
|
/** 透传给 Rspack CSS 规则补丁的配置。 */
|
|
11
11
|
rspack?: PatchRspackConfigOptions | undefined;
|
|
12
12
|
/** Tailwind CSS v4 生成配置,目标固定为 Lynx 可消费的 web CSS。 */
|
|
@@ -17,6 +17,6 @@ interface LynxTailwindcssOptions extends Omit<UserDefinedOptions, 'platform' | '
|
|
|
17
17
|
*
|
|
18
18
|
* Lynx 原生支持 CSS class selector,因此不会改写 JSX `className` 或创建运行时样式表。
|
|
19
19
|
*/
|
|
20
|
-
declare function pluginLynxTailwindcss(options?: LynxTailwindcssOptions): RsbuildPlugin;
|
|
20
|
+
export declare function pluginLynxTailwindcss(options?: LynxTailwindcssOptions): RsbuildPlugin;
|
|
21
21
|
//#endregion
|
|
22
|
-
export {
|
|
22
|
+
export { PLUGIN_NAME };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@weapp-tailwindcss/lynx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.11",
|
|
5
5
|
"description": "Tailwind CSS integration for ReactLynx and Rspeedy cross-platform builds. 面向 ReactLynx 与 Rspeedy 跨端构建的 Tailwind CSS 集成。",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://tw.weapp.dev/docs/quick-start/frameworks/lynx",
|
|
@@ -44,12 +44,12 @@
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"weapp-tailwindcss": "5.5.
|
|
47
|
+
"weapp-tailwindcss": "5.5.2"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@lynx-js/rspeedy": "^0.
|
|
50
|
+
"@lynx-js/rspeedy": "^0.17.0",
|
|
51
51
|
"tailwindcss": "^4.3.3",
|
|
52
|
-
"vitest": "~
|
|
52
|
+
"vitest": "~5.0.0"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"build": "tsdown",
|