@bamboocss/vite 1.36.1 → 1.36.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.
package/dist/index.cjs CHANGED
@@ -2942,7 +2942,7 @@ const bamboocss = (options = {}) => {
2942
2942
  name: "compiler",
2943
2943
  reason: "compile-failed"
2944
2944
  });
2945
- if (command === "serve") throw error;
2945
+ if (command === "serve") throw error instanceof Error ? error : new Error(`bamboocss: failed to compile ${filePath}: ${String(error)}`, { cause: error });
2946
2946
  return null;
2947
2947
  }
2948
2948
  totals.files++;
package/dist/index.mjs CHANGED
@@ -2912,7 +2912,7 @@ const bamboocss = (options = {}) => {
2912
2912
  name: "compiler",
2913
2913
  reason: "compile-failed"
2914
2914
  });
2915
- if (command === "serve") throw error;
2915
+ if (command === "serve") throw error instanceof Error ? error : new Error(`bamboocss: failed to compile ${filePath}: ${String(error)}`, { cause: error });
2916
2916
  return null;
2917
2917
  }
2918
2918
  totals.files++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bamboocss/vite",
3
- "version": "1.36.1",
3
+ "version": "1.36.2",
4
4
  "description": "Vite integration for Bamboo CSS",
5
5
  "homepage": "https://bamboocss.com",
6
6
  "license": "MIT",
@@ -40,18 +40,18 @@
40
40
  "postcss": "8.5.26",
41
41
  "postcss-selector-parser": "7.1.5",
42
42
  "ts-morph": "28.0.0",
43
- "@bamboocss/config": "1.36.1",
44
- "@bamboocss/extractor": "1.36.1",
45
- "@bamboocss/logger": "1.36.1",
46
- "@bamboocss/node": "1.36.1",
47
- "@bamboocss/core": "1.36.1",
48
- "@bamboocss/types": "1.36.1",
49
- "@bamboocss/shared": "1.36.1"
43
+ "@bamboocss/config": "1.36.2",
44
+ "@bamboocss/core": "1.36.2",
45
+ "@bamboocss/extractor": "1.36.2",
46
+ "@bamboocss/node": "1.36.2",
47
+ "@bamboocss/logger": "1.36.2",
48
+ "@bamboocss/shared": "1.36.2",
49
+ "@bamboocss/types": "1.36.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@jridgewell/trace-mapping": "^0.3.31",
53
53
  "vite": "7.2.6",
54
- "@bamboocss/fixture": "1.36.1"
54
+ "@bamboocss/fixture": "1.36.2"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "vite": ">=5"