rollup-plugin-install
v0.0.5
Published
auto install dependence while vite/rollup build
Downloads
5
Maintainers
Readme
rollup-plugin-install
Usage
- run
yarn add rollup-plugin-install --dev
- add the plugin into
vite.config.js
orrollup.config.js
// vite.config.js
const { autoInstallPlugin } = require('rollup-plugin-install')
module.exports = {
plugins: [autoInstallPlugin(/*options*/)],
}
Options
bin
Type: 'npm' | 'yarn'
Default: npm
use npm
or yarn
to install npm module