2.0.0 • Published 2 months ago
@wisdom-w/config-vite v2.0.0
Vite configuration
Vite configuration and utilities for Vue 3 and TypeScript projects.
How to use
- Install the package:
pnpm add -D @wisdom-w/config-vite
- Create a
.npmrc
file with the following content:
public-hoist-pattern[]=!*@wisdom-w/config-vite*
- Create a
vite.config.ts
file with the following content:
For ESM projects:
import { createViteConfig } from '@wisdom-w/config-vite'
export default createViteConfig()
- Append the following
types
content totsconfig.json
:
{
"compilerOptions": {
"types": [
"@wisdom-w/config-vite/global",
],
},
}
2.0.0
2 months ago
1.5.3
4 months ago
1.5.2
5 months ago
1.4.5
6 months ago
1.4.3
6 months ago
1.5.1
6 months ago
1.5.0
6 months ago
1.4.2
6 months ago
1.4.1
6 months ago
1.4.0
6 months ago
1.3.3
6 months ago
1.3.2
6 months ago
1.3.1
6 months ago
1.3.0
6 months ago
1.2.3
7 months ago
1.2.2
7 months ago
1.2.1
7 months ago
1.2.0
7 months ago
1.1.4
7 months ago
1.1.3
7 months ago
1.1.2
7 months ago
1.1.1
7 months ago
1.1.0
7 months ago
1.0.13
7 months ago
1.0.12
7 months ago
1.0.11
7 months ago
1.0.10
7 months ago
1.0.9
7 months ago
1.0.8
7 months ago
1.0.7
7 months ago
1.0.6
7 months ago
1.0.5
7 months ago
1.0.4
7 months ago
1.0.3
7 months ago
1.0.2
7 months ago
1.0.1
7 months ago
1.0.0
7 months ago