@unocss/vite
Advanced tools
Comparing version 0.4.9 to 0.4.10
@@ -6,5 +6,4 @@ import * as vite from 'vite'; | ||
import { UnoGenerator, BetterMap } from 'unocss'; | ||
import { Context as Context$1 } from 'vm'; | ||
interface UnocssPluginOptions extends UserConfig { | ||
interface VitePluginOptions { | ||
include?: FilterPattern; | ||
@@ -23,3 +22,15 @@ exclude?: FilterPattern; | ||
mode?: 'global' | 'per-module' | 'vue-scoped' | 'dist-chunk'; | ||
/** | ||
* @internal | ||
* @default '/__unocss/entry.css' | ||
*/ | ||
__virtualModuleEntry?: string; | ||
/** | ||
* @internal | ||
* @default '/__unocss/ready' | ||
*/ | ||
__onStyleReadyCallback?: string; | ||
} | ||
interface UnocssPluginOptions extends UserConfig, VitePluginOptions { | ||
} | ||
@@ -42,3 +53,3 @@ declare function createContext(uno: UnoGenerator, config: UnocssPluginOptions, configFilepath?: string): { | ||
declare function GlobalModeBuildPlugin({ uno, config, scan, tokens }: Context$1): Plugin[]; | ||
declare function GlobalModeBuildPlugin({ uno, config, scan, tokens }: Context): Plugin[]; | ||
@@ -53,2 +64,2 @@ declare function GlobalModePlugin(ctx: Context): vite.Plugin[]; | ||
export { ChunkModeBuildPlugin, GlobalModeBuildPlugin, GlobalModeDevPlugin, GlobalModePlugin, PerModuleModePlugin, UnocssPluginOptions, VueScopedPlugin, UnocssPlugin as default }; | ||
export { ChunkModeBuildPlugin, GlobalModeBuildPlugin, GlobalModeDevPlugin, GlobalModePlugin, PerModuleModePlugin, UnocssPluginOptions, VitePluginOptions, VueScopedPlugin, UnocssPlugin as default }; |
{ | ||
"name": "@unocss/vite", | ||
"version": "0.4.9", | ||
"version": "0.4.10", | ||
"description": "", | ||
@@ -32,5 +32,5 @@ "keywords": [], | ||
"@rollup/pluginutils": "^4.1.1", | ||
"@unocss/config": "0.4.9", | ||
"@unocss/core": "0.4.9", | ||
"@unocss/scope": "0.4.9" | ||
"@unocss/config": "0.4.10", | ||
"@unocss/core": "0.4.10", | ||
"@unocss/scope": "0.4.10" | ||
}, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
174849
5723
8
+ Added@unocss/config@0.4.10(transitive)
+ Added@unocss/core@0.4.10(transitive)
+ Added@unocss/scope@0.4.10(transitive)
- Removed@unocss/config@0.4.9(transitive)
- Removed@unocss/core@0.4.9(transitive)
- Removed@unocss/scope@0.4.9(transitive)
Updated@unocss/config@0.4.10
Updated@unocss/core@0.4.10
Updated@unocss/scope@0.4.10