🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

wp2vite

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wp2vite

make webpack project support vite

latest
Source
npmnpm
Version
2.0.9
Version published
Maintainers
1
Created
Source

English | 简体中文

wp2vite logo


npm vite npm webpack npm package node compatility


wp2vite

It has been officially included,detail

Overview

A front-end project automatic conversion tool, You can make your webpack project support vite.

wp2vite will not delete your webpack configuration, but will inject vite configuration into your project to support vite.

The development speed is about 80% faster than that of webpack, and the construction speed is about 50% faster than that of webpack.

Examples

  • vite-concent-pro

Detailed

react

vue

  • vue projects created by vue-cli are supported,whether or not contains vue.config.js

other

install

npm install -g wp2vite

use

cd yourwork/your_project // go to your project catalog
wp2vite 
or
wp2vite --config=./webpack.config.js // with config file

wp2vite -v // check wp2vite version

npm install // install dependencies

npm run dev // start server
or
npm run vite-start // start server

Contribute

If you spotted a bug,please submit a pull request with a bug fix.

If you would like to add a feature or change existing behaviour, open an issue and tell about what exactly you want to change/add.

License

MIT

Keywords

webpack

FAQs

Package last updated on 13 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts