fork of hey-api/openapi-ts because I need some additional things
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

README.md

@config/vite-base#

Base configuration for Vite and Vitest.

Installation#

pnpm add -D @config/vite-base

Usage#

To use the base configuration in your vitest.config.ts:

// vitest.config.ts
import { createVitestConfig } from '@config/vite-base';

export default createVitestConfig({
  // Your specific configuration
});

To use the base configuration in your vite.config.ts:

// vite.config.ts
import { createViteConfig } from '@config/vite-base';

export default createViteConfig({
  // Your specific configuration
  plugins: [react()], // Example
});

Implementation#

To complete the implementation of this package in the workspace:

  1. Build the package:

    cd packages/configs/vite-base
    pnpm install
    pnpm build
    
  2. Add it as a dependency to your packages:

    cd <your-package>
    pnpm add -D @config/vite-base@workspace:*
    
  3. Update your vitest.config.ts and vite.config.ts files to use the base configurations.