@unocss/transformer-compile-class 66.3.3 → 66.4.1

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.d.mts CHANGED
@@ -59,4 +59,5 @@ interface CompileClassOptions {
59
59
  }
60
60
  declare function transformerCompileClass(options?: CompileClassOptions): SourceCodeTransformer;
61
61
 
62
- export { type CompileClassOptions, transformerCompileClass as default };
62
+ export { transformerCompileClass as default };
63
+ export type { CompileClassOptions };
package/dist/index.d.ts CHANGED
@@ -59,4 +59,5 @@ interface CompileClassOptions {
59
59
  }
60
60
  declare function transformerCompileClass(options?: CompileClassOptions): SourceCodeTransformer;
61
61
 
62
- export { type CompileClassOptions, transformerCompileClass as default };
62
+ export { transformerCompileClass as default };
63
+ export type { CompileClassOptions };
package/dist/index.mjs CHANGED
@@ -30,7 +30,6 @@ function transformerCompileClass(options = {}) {
30
30
  body = known.join(" ");
31
31
  }
32
32
  if (body) {
33
- body = body.split(/\s+/).sort().join(" ");
34
33
  let hash2;
35
34
  let explicitName = false;
36
35
  if (match.groups && match.groups.name) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/transformer-compile-class",
3
3
  "type": "module",
4
- "version": "66.3.3",
4
+ "version": "66.4.1",
5
5
  "description": "Compile group of classes into one class",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "dist"
34
34
  ],
35
35
  "dependencies": {
36
- "@unocss/core": "66.3.3"
36
+ "@unocss/core": "66.4.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "magic-string": "^0.30.17"