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

1.5.2 • Public • Published

Vite configuration

Vite configuration and utilities for Vue 3 and TypeScript projects.

How to use

  1. Install the package:
pnpm add -D @wisdom-w/config-vite
  1. Create a .npmrc file with the following content:
public-hoist-pattern[]=!*@wisdom-w/config-vite*
  1. Create a vite.config.ts file with the following content:

For ESM projects:

import { createViteConfig } from '@wisdom-w/config-vite'

export default createViteConfig()
  1. Append the following types content to tsconfig.json:
{
  "compilerOptions": {
    "types": [
      "@wisdom-w/config-vite/global",
    ],
  },
}

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.5.20latest

Version History

VersionDownloads (Last 7 Days)Published
1.5.20
1.5.11
1.5.00
1.4.50
1.4.30
1.4.20
1.4.10
1.4.00
1.3.30
1.3.20
1.3.10
1.3.00
1.2.30
1.2.20
1.2.10
1.2.00
1.1.40
1.1.30
1.1.20
1.1.10
1.1.00
1.0.130
1.0.120
1.0.111
1.0.100
1.0.90
1.0.81
1.0.70
1.0.61
1.0.50
1.0.40
1.0.31
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @wisdom-w/config-vite

Weekly Downloads

5

Version

1.5.2

License

none

Unpacked Size

49.8 kB

Total Files

5

Last publish

Collaborators

  • wisdomw