Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vite-plugin-style-to-vw

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-style-to-vw - npm Package Compare versions

Comparing version 1.3.0 to 1.4.0

2

package.json
{
"name": "vite-plugin-style-to-vw",
"version": "1.3.0",
"version": "1.4.0",
"description": "一个可以将签内样式px转换vw的plugin",

@@ -5,0 +5,0 @@ "exports": {

@@ -5,2 +5,12 @@ # vite-plugin-style-to-vw

## Development reasons
Some plug-ins will convert class='text-20px' in the atomic plug-in class to class='text-2.666666666665vw', so I wrote this plug-in, only convert class =' text-20px 'in style
## Description
- Support vue,tsx,jsx file input
- Supported object writing
- Support in-line and line wrap styles
- Support for vue3
- Support for react
## Language

@@ -7,0 +17,0 @@

@@ -0,1 +1,2 @@

# vite-plugin-style-to-vw

@@ -5,2 +6,14 @@

## 开发原因
有些插件会将class中原子化插件的中的class='text-20px' 转换为 class='text-2.6666666666666665vw',所以写了这个插件,只转化style中的
## 说明
- 支持vue,tsx,jsx 文件输入
- 支持对象写法
- 支持行内样式和换行样式
- 支持vue3
- 支持react
## 语言

@@ -7,0 +20,0 @@

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