@longbeard/vite-config
TypeScript icon, indicating that this package has built-in type declarations

0.0.12 • Public • Published

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-config

If the project uses pnpm:

pnpm install -D @longbeard/vite-config
npx install-peerdeps -D --pnpm @longbeard/vite-config

Importing 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);

Readme

Keywords

Package Sidebar

Install

npm i @longbeard/vite-config

Weekly Downloads

0

Version

0.0.12

License

MIT

Unpacked Size

7.69 kB

Total Files

6

Last publish

Collaborators

  • kevinang
  • patrick-longbeard
  • longbeardco