This is a pluggable vite config file.
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-configYou 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);