1.2.0 • Published 1 month ago

vite-plugin-cachedir v1.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

Vite Plugin CacheDir

Vite plugin to resolve the default cache directory in a monorepo.

This plugin is designed to assist in setting the appropriate cache directory when building a Vite project within a monorepo environment. It helps ensure that the correct cache directories are used, especially when working with multiple projects that share dependencies.

Install

You can install this plugin using your preferred package manager:

# With npm
npm i -D vite-plugin-cachedir

# With yarn
yarn add vite-plugin-cachedir --dev

Usage

To use the plugin, simply import it and add it to the plugins array in your Vite config file:

// vite.config.js
import pluginCacheDir from 'vite-plugin-cachedir'

export default {
  plugins: [pluginCacheDir()]
}

License

GitHub

A project by Stilearning © 2023.

1.2.0

1 month ago

1.1.1

9 months ago

1.1.0

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago