Socket
Socket
Sign inDemoInstall

@unocss/webpack

Package Overview
Dependencies
Maintainers
1
Versions
322
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unocss/webpack - npm Package Compare versions

Comparing version 0.10.0 to 0.11.0

6

dist/index.d.ts

@@ -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 @@ }

4

dist/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc