@unocss/core 0.26.4 → 0.27.0
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 +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +1 -1
- package/package.json +9 -5
package/dist/index.cjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { LoadConfigResult } from 'unconfig';
|
|
2
|
+
import MagicString from 'magic-string-extra';
|
|
2
3
|
|
|
3
4
|
declare class UnoGenerator {
|
|
4
5
|
userConfig: UserConfig;
|
|
@@ -420,7 +421,7 @@ interface SourceCodeTransformer {
|
|
|
420
421
|
/**
|
|
421
422
|
* The transform function
|
|
422
423
|
*/
|
|
423
|
-
transform: (code:
|
|
424
|
+
transform: (code: MagicString, id: string, ctx: UnocssPluginContext) => Awaitable<void>;
|
|
424
425
|
}
|
|
425
426
|
/**
|
|
426
427
|
* For other modules to aggregate the options
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unocss/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "The instant on-demand Atomic CSS engine.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"unocss",
|
|
@@ -14,15 +14,18 @@
|
|
|
14
14
|
"bugs": {
|
|
15
15
|
"url": "https://github.com/unocss/unocss/issues"
|
|
16
16
|
},
|
|
17
|
+
"license": "MIT",
|
|
17
18
|
"repository": {
|
|
18
19
|
"type": "git",
|
|
19
20
|
"url": "git+https://github.com/unocss/unocss.git",
|
|
20
21
|
"directory": "packages/core"
|
|
21
22
|
},
|
|
22
23
|
"funding": "https://github.com/sponsors/antfu",
|
|
23
|
-
"license": "MIT",
|
|
24
24
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
25
25
|
"sideEffects": false,
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
26
29
|
"exports": {
|
|
27
30
|
".": {
|
|
28
31
|
"require": "./dist/index.cjs",
|
|
@@ -33,9 +36,10 @@
|
|
|
33
36
|
"main": "dist/index.cjs",
|
|
34
37
|
"module": "dist/index.mjs",
|
|
35
38
|
"types": "dist/index.d.ts",
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"magic-string-extra": "^0.1.2",
|
|
41
|
+
"unconfig": "^0.3.1"
|
|
42
|
+
},
|
|
39
43
|
"scripts": {
|
|
40
44
|
"build": "unbuild",
|
|
41
45
|
"stub": "unbuild --stub"
|