@bunup/plugin-tailwindcss 0.14.14 → 0.14.17
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 +4 -4
- package/dist/index.js +0 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -6,21 +6,21 @@ type TailwindCSSOptions = {
|
|
|
6
6
|
* instead of bundling them to the build output.
|
|
7
7
|
* @default false
|
|
8
8
|
*/
|
|
9
|
-
inject?: boolean
|
|
9
|
+
inject?: boolean;
|
|
10
10
|
/**
|
|
11
11
|
* Whether to minify the generated CSS output.
|
|
12
12
|
* @default false
|
|
13
13
|
*/
|
|
14
|
-
minify?: boolean
|
|
14
|
+
minify?: boolean;
|
|
15
15
|
/**
|
|
16
16
|
* Whether to include Tailwind's preflight styles (CSS reset).
|
|
17
17
|
* @default false
|
|
18
18
|
*/
|
|
19
|
-
preflight?: boolean
|
|
19
|
+
preflight?: boolean;
|
|
20
20
|
/**
|
|
21
21
|
* Additional PostCSS plugins to apply during CSS processing.
|
|
22
22
|
*/
|
|
23
|
-
postcssPlugins?: Plugin[]
|
|
23
|
+
postcssPlugins?: Plugin[];
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* A plugin for Bunup that provides seamless integration with Tailwind CSS.
|
package/dist/index.js
CHANGED
|
@@ -48,7 +48,6 @@ function tailwindcss(options = {}) {
|
|
|
48
48
|
]).process(preprocessSource(source, preflight), {
|
|
49
49
|
from: args.path
|
|
50
50
|
})).css;
|
|
51
|
-
console.log(preprocessSource(source, preflight));
|
|
52
51
|
const { code: css } = transform({
|
|
53
52
|
filename: path.basename(args.path),
|
|
54
53
|
code: Buffer.from(cssFromTailwind),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bunup/plugin-tailwindcss",
|
|
3
3
|
"description": "A plugin for Bunup that provides seamless integration with Tailwind CSS.",
|
|
4
|
-
"version": "0.14.
|
|
4
|
+
"version": "0.14.17",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist"
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"url": "git+https://github.com/bunup/bunup.git"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@tailwindcss/postcss": "^4.1.
|
|
27
|
-
"lightningcss": "^1.30.
|
|
26
|
+
"@tailwindcss/postcss": "^4.1.14",
|
|
27
|
+
"lightningcss": "^1.30.2",
|
|
28
28
|
"postcss": "^8.5.6",
|
|
29
|
-
"@bunup/shared": "0.14.
|
|
29
|
+
"@bunup/shared": "0.14.17"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"typescript": "
|
|
32
|
+
"typescript": "latest"
|
|
33
33
|
},
|
|
34
34
|
"funding": "https://github.com/sponsors/arshad-yaseen",
|
|
35
35
|
"homepage": "https://bunup.dev",
|