@rsbuild/plugin-tailwindcss 2.0.0 → 2.0.1
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 +10 -12
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,19 @@
|
|
|
1
1
|
import type { RsbuildPlugin } from '@rsbuild/core';
|
|
2
|
-
export declare const PLUGIN_TAILWINDCSS_NAME =
|
|
2
|
+
export declare const PLUGIN_TAILWINDCSS_NAME = 'rsbuild:tailwindcss';
|
|
3
3
|
export type PluginTailwindcssOptions = {
|
|
4
4
|
/**
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
optimize?: boolean | {
|
|
5
|
+
* Enable Tailwind CSS's built-in Lightning CSS optimization.
|
|
6
|
+
*
|
|
7
|
+
* This overlaps with Rsbuild's built-in Lightning CSS optimization. It is
|
|
8
|
+
* recommended to enable this option only when Rsbuild's built-in Lightning
|
|
9
|
+
* CSS optimization is disabled.
|
|
10
|
+
*
|
|
11
|
+
* @default false
|
|
12
|
+
*/ optimize?: boolean | {
|
|
14
13
|
/**
|
|
15
14
|
* Enable minification in Tailwind CSS's built-in Lightning CSS optimization.
|
|
16
15
|
* @default false
|
|
17
|
-
*/
|
|
18
|
-
minify?: boolean;
|
|
16
|
+
*/ minify?: boolean;
|
|
19
17
|
};
|
|
20
18
|
};
|
|
21
19
|
export declare const pluginTailwindcss: (options?: PluginTailwindcssOptions) => RsbuildPlugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsbuild/plugin-tailwindcss",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Tailwind CSS plugin for Rsbuild",
|
|
5
5
|
"homepage": "https://rsbuild.rs",
|
|
6
6
|
"repository": {
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"@tailwindcss/webpack": "^4.3.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@rslib/core": "0.
|
|
27
|
+
"@rslib/core": "0.22.0",
|
|
28
28
|
"@types/node": "^24.12.4",
|
|
29
29
|
"typescript": "^6.0.3",
|
|
30
|
-
"@rsbuild/core": "2.0.
|
|
30
|
+
"@rsbuild/core": "2.0.9",
|
|
31
31
|
"@scripts/test-helper": "1.0.0"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|