@unocss/webpack
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -6,3 +6,9 @@ import * as webpack from 'webpack'; | ||
interface PluginOptions<Theme extends {} = {}> extends UserConfig<Theme> { | ||
/** | ||
* Patterns that filter the files being extracted. | ||
*/ | ||
include?: FilterPattern; | ||
/** | ||
* Patterns that filter the files NOT being extracted. | ||
*/ | ||
exclude?: FilterPattern; | ||
@@ -9,0 +15,0 @@ } |
@@ -113,3 +113,3 @@ var __create = Object.create; | ||
await Promise.all(tasks); | ||
const result = await uno.generate(tokens, { layerComments: false }); | ||
const result = await uno.generate(tokens, { minify: true }); | ||
for (const file of files) { | ||
@@ -149,3 +149,3 @@ let code = compilation.assets[file].source().toString(); | ||
return; | ||
const result = await uno.generate(tokens, { layerComments: false }); | ||
const result = await uno.generate(tokens); | ||
Array.from(plugin.__vfsModules).forEach((id) => { | ||
@@ -152,0 +152,0 @@ const path = id.slice(plugin.__virtualModulePrefix.length); |
{ | ||
"name": "@unocss/webpack", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"description": "The Webpack plugin for UnoCSS", | ||
@@ -36,4 +36,4 @@ "keywords": [ | ||
"@rollup/pluginutils": "^4.1.1", | ||
"@unocss/config": "0.10.0", | ||
"@unocss/core": "0.10.0", | ||
"@unocss/config": "0.11.0", | ||
"@unocss/core": "0.11.0", | ||
"unplugin": "^0.2.20", | ||
@@ -40,0 +40,0 @@ "webpack-sources": "^3.2.1" |
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
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
14132
309
+ Added@unocss/config@0.11.0(transitive)
+ Added@unocss/core@0.11.0(transitive)
- Removed@unocss/config@0.10.0(transitive)
- Removed@unocss/core@0.10.0(transitive)
Updated@unocss/config@0.11.0
Updated@unocss/core@0.11.0