@wyw-in-js/vite
v0.5.5
Published
The package contains WyW-in-JS plugin for [Vite](https://vitejs.dev/).
Downloads
34,462
Readme
@wyw-in-js/vite
The package contains WyW-in-JS plugin for Vite.
Installation
# npm
npm i -D @wyw-in-js/vite
# yarn
yarn add --dev @wyw-in-js/vite
# pnpm
pnpm add -D @wyw-in-js/vite
Usage
After installation, add the plugin to your vite.config.js
:
import { defineConfig } from 'vite';
import wyw from '@wyw-in-js/vite';
export default defineConfig({
// ...
plugins: [wyw()],
});
To get details about supported options by the plugin, please check documentation.