2.0.0 • Published 4 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
4 months ago
1.5.3
6 months ago
1.5.2
8 months ago
1.4.5
9 months ago
1.4.3
9 months ago
1.5.1
8 months ago
1.5.0
8 months ago
1.4.2
9 months ago
1.4.1
9 months ago
1.4.0
9 months ago
1.3.3
9 months ago
1.3.2
9 months ago
1.3.1
9 months ago
1.3.0
9 months ago
1.2.3
9 months ago
1.2.2
9 months ago
1.2.1
9 months ago
1.2.0
9 months ago
1.1.4
9 months ago
1.1.3
9 months ago
1.1.2
9 months ago
1.1.1
9 months ago
1.1.0
9 months ago
1.0.13
9 months ago
1.0.12
9 months ago
1.0.11
9 months ago
1.0.10
9 months ago
1.0.9
9 months ago
1.0.8
9 months ago
1.0.7
9 months ago
1.0.6
9 months ago
1.0.5
9 months ago
1.0.4
9 months ago
1.0.3
9 months ago
1.0.2
9 months ago
1.0.1
9 months ago
1.0.0
9 months ago