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