@removify/tailwind-preset 0.2.1 → 0.2.2

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.
@@ -349,7 +349,10 @@ function buildTheme(object, option = {}) {
349
349
  return null;
350
350
  }
351
351
  if (prefix) {
352
- Object.entries(object).map(([k, v]) => [`${prefix}${k}`, v]);
352
+ return Object.fromEntries(Object.entries(object).map(([k, v]) => [
353
+ `${prefix}${k}`,
354
+ v
355
+ ]));
353
356
  }
354
357
  return object;
355
358
  }
package/dist/cli/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  colors
3
- } from "../chunk-I5TUIFQV.js";
3
+ } from "../chunk-LHJY2ZQQ.js";
4
4
 
5
5
  // src/cli/index.ts
6
6
  import process from "process";
package/dist/index.cjs CHANGED
@@ -403,7 +403,10 @@ function buildTheme(object, option = {}) {
403
403
  return null;
404
404
  }
405
405
  if (prefix) {
406
- Object.entries(object).map(([k, v]) => [`${prefix}${k}`, v]);
406
+ return Object.fromEntries(Object.entries(object).map(([k, v]) => [
407
+ `${prefix}${k}`,
408
+ v
409
+ ]));
407
410
  }
408
411
  return object;
409
412
  }
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  screens,
12
12
  screensNumber,
13
13
  unocssTheme
14
- } from "./chunk-I5TUIFQV.js";
14
+ } from "./chunk-LHJY2ZQQ.js";
15
15
 
16
16
  // src/plugins/index.ts
17
17
  import animation2 from "tailwindcss-animate";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@removify/tailwind-preset",
3
3
  "type": "module",
4
- "version": "0.2.1",
4
+ "version": "0.2.2",
5
5
  "description": "Tailwind CSS preset for Removify",
6
6
  "keywords": [
7
7
  "tailwind"
@@ -47,7 +47,7 @@
47
47
  "tsx": "^4.19.1",
48
48
  "typescript": "^5.6.2",
49
49
  "vitest": "^2.1.1",
50
- "@removify/tailwind-preset": "0.2.1"
50
+ "@removify/tailwind-preset": "0.2.2"
51
51
  },
52
52
  "lint-staged": {
53
53
  "**/*.{js,ts,vue,html}": [