1.5.2 • Published 1 month ago
@wisdom-w/config-vite v1.5.2
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",
],
},
}
1.5.2
1 month ago
1.4.5
2 months ago
1.4.3
2 months ago
1.5.1
2 months ago
1.5.0
2 months ago
1.4.2
2 months ago
1.4.1
2 months ago
1.4.0
2 months ago
1.3.3
2 months ago
1.3.2
2 months ago
1.3.1
2 months ago
1.3.0
2 months ago
1.2.3
2 months ago
1.2.2
2 months ago
1.2.1
2 months ago
1.2.0
2 months ago
1.1.4
2 months ago
1.1.3
2 months ago
1.1.2
2 months ago
1.1.1
2 months ago
1.1.0
2 months ago
1.0.13
2 months ago
1.0.12
2 months ago
1.0.11
2 months ago
1.0.10
2 months ago
1.0.9
2 months ago
1.0.8
2 months ago
1.0.7
2 months ago
1.0.6
2 months ago
1.0.5
2 months ago
1.0.4
2 months ago
1.0.3
2 months ago
1.0.2
2 months ago
1.0.1
2 months ago
1.0.0
2 months ago