@unocss/core 66.5.7 → 66.5.10-beta.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 +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -811,6 +811,12 @@ interface UserOnlyOptions<Theme extends object = object> {
|
|
|
811
811
|
legacy?: {
|
|
812
812
|
renderModernChunks: boolean;
|
|
813
813
|
};
|
|
814
|
+
/**
|
|
815
|
+
* Custom prefix for virtual modules
|
|
816
|
+
*
|
|
817
|
+
* @default '__uno'
|
|
818
|
+
*/
|
|
819
|
+
virtualModulePrefix?: string;
|
|
814
820
|
}
|
|
815
821
|
/**
|
|
816
822
|
* For unocss-cli config
|
|
@@ -859,6 +865,14 @@ interface UnocssPluginContext<Config extends UserConfig = UserConfig> {
|
|
|
859
865
|
root: string;
|
|
860
866
|
updateRoot: (root: string) => Promise<LoadConfigResult<Config>>;
|
|
861
867
|
getConfigFileList: () => string[];
|
|
868
|
+
/**
|
|
869
|
+
* Get regexes to match virtual module ids
|
|
870
|
+
*/
|
|
871
|
+
getVMPRegexes: () => Promise<{
|
|
872
|
+
prefix: string;
|
|
873
|
+
RESOLVED_ID_WITH_QUERY_RE: RegExp;
|
|
874
|
+
RESOLVED_ID_RE: RegExp;
|
|
875
|
+
}>;
|
|
862
876
|
}
|
|
863
877
|
interface SourceMap {
|
|
864
878
|
file?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -811,6 +811,12 @@ interface UserOnlyOptions<Theme extends object = object> {
|
|
|
811
811
|
legacy?: {
|
|
812
812
|
renderModernChunks: boolean;
|
|
813
813
|
};
|
|
814
|
+
/**
|
|
815
|
+
* Custom prefix for virtual modules
|
|
816
|
+
*
|
|
817
|
+
* @default '__uno'
|
|
818
|
+
*/
|
|
819
|
+
virtualModulePrefix?: string;
|
|
814
820
|
}
|
|
815
821
|
/**
|
|
816
822
|
* For unocss-cli config
|
|
@@ -859,6 +865,14 @@ interface UnocssPluginContext<Config extends UserConfig = UserConfig> {
|
|
|
859
865
|
root: string;
|
|
860
866
|
updateRoot: (root: string) => Promise<LoadConfigResult<Config>>;
|
|
861
867
|
getConfigFileList: () => string[];
|
|
868
|
+
/**
|
|
869
|
+
* Get regexes to match virtual module ids
|
|
870
|
+
*/
|
|
871
|
+
getVMPRegexes: () => Promise<{
|
|
872
|
+
prefix: string;
|
|
873
|
+
RESOLVED_ID_WITH_QUERY_RE: RegExp;
|
|
874
|
+
RESOLVED_ID_RE: RegExp;
|
|
875
|
+
}>;
|
|
862
876
|
}
|
|
863
877
|
interface SourceMap {
|
|
864
878
|
file?: string;
|
package/dist/index.mjs
CHANGED