vite-plugin-use-server-directive
v0.4.3
Published
Universal "use server" functions
Downloads
6
Readme
vite-plugin-use-server-directive
Vite plugin for
use-server-directive
Install
npm install use-server-directive
npm install --D vite-plugin-use-server-directive
yarn add use-server-directive
yarn add -D vite-plugin-use-server-directive
pnpm add use-server-directive
pnpm add -D vite-plugin-use-server-directive
Usage
import useServerDirective from 'vite-plugin-use-server-directive';
useServerDirective({
filter: {
include: 'src/**/*.{ts,js,tsx,jsx}',
exclude: 'node_modules/**/*.{ts,js,tsx,jsx}',
},
})
Sponsors
License
MIT © lxsmnsyc