vite-plugin-style-to-vw
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -56,3 +56,3 @@ "use strict"; | ||
var pxGlobalReg = /(\d+)px/g; | ||
var styleRegex = /style\s*=\s*(?:"([^"]*?)"|'([^']*?)'|{([^}]*)})/g; | ||
var styleRegex = /style\s*(:|=)\s*(?:"([^"]*?)"|'([^']*?)'|{([^}]*)})/g; | ||
function vitePluginStyleToVW(customOptions = defaultsProp) { | ||
@@ -59,0 +59,0 @@ return { |
{ | ||
"name": "vite-plugin-style-to-vw", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "一个可以将签内样式px转换vw的plugin", | ||
@@ -5,0 +5,0 @@ "exports": { |
@@ -44,3 +44,3 @@ interface IdefaultsProp { | ||
const pxGlobalReg = /(\d+)px/g; | ||
const styleRegex = /style\s*=\s*(?:"([^"]*?)"|'([^']*?)'|{([^}]*)})/g; | ||
const styleRegex = /style\s*(:|=)\s*(?:"([^"]*?)"|'([^']*?)'|{([^}]*)})/g; | ||
@@ -47,0 +47,0 @@ function vitePluginStyleToVW(customOptions: IdefaultsProp = defaultsProp) { |
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
23270