@longbeard/vite-config
v0.0.12
Published
Vite config defaults
Keywords
Readme
Vite Configuration File
This is a pluggable vite config file.
Getting Started
Installation
To get started, install this package with all its peer dependencies
If the project uses npm:
npm install -D @longbeard/vite-config
npx install-peerdeps -D @longbeard/vite-configIf the project uses pnpm:
pnpm install -D @longbeard/vite-config
npx install-peerdeps -D --pnpm @longbeard/vite-configImporting to vite.config.ts
You will need to have vite.config.ts file on the root of your project directory. Once that's added, simply use this package inside the file. You will need to pass __dirname to the function.
import viteConfig from "@longbeard/vite-config";
export default viteConfig(__dirname);