@bamboocss/vite 1.37.3 → 1.37.4

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
@@ -2715,7 +2715,7 @@ const createStaticCompilationSession = () => {
2715
2715
  markClassUsed(className) {
2716
2716
  for (const token of className.split(" ")) {
2717
2717
  if (!token) continue;
2718
- session.usedClasses.add((0, _bamboocss_shared.esc)(token));
2718
+ session.usedClasses.add(token.includes("\\") ? token : (0, _bamboocss_shared.esc)(token));
2719
2719
  }
2720
2720
  }
2721
2721
  };
package/dist/index.mjs CHANGED
@@ -2685,7 +2685,7 @@ const createStaticCompilationSession = () => {
2685
2685
  markClassUsed(className) {
2686
2686
  for (const token of className.split(" ")) {
2687
2687
  if (!token) continue;
2688
- session.usedClasses.add(esc(token));
2688
+ session.usedClasses.add(token.includes("\\") ? token : esc(token));
2689
2689
  }
2690
2690
  }
2691
2691
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bamboocss/vite",
3
- "version": "1.37.3",
3
+ "version": "1.37.4",
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.37.3",
44
- "@bamboocss/core": "1.37.3",
45
- "@bamboocss/extractor": "1.37.3",
46
- "@bamboocss/node": "1.37.3",
47
- "@bamboocss/shared": "1.37.3",
48
- "@bamboocss/types": "1.37.3",
49
- "@bamboocss/logger": "1.37.3"
43
+ "@bamboocss/config": "1.37.4",
44
+ "@bamboocss/core": "1.37.4",
45
+ "@bamboocss/extractor": "1.37.4",
46
+ "@bamboocss/node": "1.37.4",
47
+ "@bamboocss/logger": "1.37.4",
48
+ "@bamboocss/shared": "1.37.4",
49
+ "@bamboocss/types": "1.37.4"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@jridgewell/trace-mapping": "^0.3.31",
53
53
  "vite": "7.2.6",
54
- "@bamboocss/fixture": "1.37.3"
54
+ "@bamboocss/fixture": "1.37.4"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "vite": ">=5"