@bunup/plugin-tailwindcss 0.15.14 → 0.16.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { BunPlugin } from "bun";
2
2
  import { Plugin } from "postcss";
3
- type TailwindCSSOptions = {
3
+ interface TailwindCSSOptions {
4
4
  /**
5
5
  * Whether to inject CSS styles dynamically into the document head at runtime
6
6
  * instead of bundling them to the build output.
@@ -21,11 +21,11 @@ type TailwindCSSOptions = {
21
21
  * Additional PostCSS plugins to apply during CSS processing.
22
22
  */
23
23
  postcssPlugins?: Plugin[];
24
- };
24
+ }
25
25
  /**
26
26
  * A plugin for Bunup that provides seamless integration with Tailwind CSS.
27
27
  *
28
28
  * @see https://bunup.dev/docs/recipes/tailwindcss
29
29
  */
30
30
  declare function tailwindcss(options?: TailwindCSSOptions): BunPlugin;
31
- export { tailwindcss, tailwindcss as default };
31
+ export { tailwindcss, tailwindcss as default, TailwindCSSOptions };
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.15.14",
4
+ "version": "0.16.3",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
@@ -29,7 +29,7 @@
29
29
  "@tailwindcss/postcss": "^4.1.16",
30
30
  "lightningcss": "^1.30.2",
31
31
  "postcss": "^8.5.6",
32
- "@bunup/shared": "0.15.13"
32
+ "@bunup/shared": "workspace:*"
33
33
  },
34
34
  "peerDependencies": {
35
35
  "typescript": "latest"