bun-plugin-stx 0.2.880 → 0.2.881

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/serve.js +3 -2
  2. package/package.json +3 -3
package/dist/serve.js CHANGED
@@ -10643,12 +10643,13 @@ function __stxOverlay(errs){
10643
10643
  const { includePreflight, minify, tokenCSS } = merged;
10644
10644
  for (const cls of merged.safelist)
10645
10645
  classes.add(cls);
10646
- const cacheKey = [...classes].sort().join(" ");
10646
+ const orderedClasses = [...classes].sort();
10647
+ const cacheKey = orderedClasses.join(" ");
10647
10648
  const cached = cssCssCache.read(cacheKey);
10648
10649
  if (cached !== undefined)
10649
10650
  return cached;
10650
10651
  const generator = new cw.CSSGenerator(generatorConfig);
10651
- for (const className of classes) {
10652
+ for (const className of orderedClasses) {
10652
10653
  generator.generate(className);
10653
10654
  }
10654
10655
  let shortcutCSS = "";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bun-plugin-stx",
3
3
  "type": "module",
4
- "version": "0.2.880",
4
+ "version": "0.2.881",
5
5
  "description": "A Bun plugin that allows for using Laravel Blade-like syntax.",
6
6
  "author": "Chris Breuer <chris@stacksjs.org>",
7
7
  "license": "MIT",
@@ -74,7 +74,7 @@
74
74
  "typecheck": "bun tsc --noEmit"
75
75
  },
76
76
  "dependencies": {
77
- "@stacksjs/stx": "0.2.880",
78
- "stx-router": "0.2.880"
77
+ "@stacksjs/stx": "0.2.881",
78
+ "stx-router": "0.2.881"
79
79
  }
80
80
  }