@wisdom-w/config-vite
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
.npmrcfile with the following content:
public-hoist-pattern[]=!*@wisdom-w/config-vite*
- Create a
vite.config.tsfile with the following content:
For ESM projects:
import { createViteConfig } from '@wisdom-w/config-vite'
export default createViteConfig()
- Append the following
typescontent totsconfig.json:
{
"compilerOptions": {
"types": [
"@wisdom-w/config-vite/global",
],
},
}
Version History
| Version | Released | License |
|---|---|---|
| 6.4.0 | ||
| 6.3.4 | ||
| 6.3.3 | ||
| 6.3.2 | ||
| 6.3.1 | ||
| 6.3.0 | ||
| 6.2.1 | ||
| 6.2.0 | ||
| 6.0.1 | ||
| 6.0.0 | ||
| 5.0.0 | ||
| 3.3.2 | ||
| 3.3.1 | ||
| 3.3.0 | ||
| 3.2.0 | ||
| 3.1.0 | ||
| 3.0.1 | ||
| 3.0.0 | ||
| 2.0.0 | ||
| 1.5.3 | ||
| 1.5.2 | ||
| 1.5.1 | ||
| 1.5.0 | ||
| 1.4.5 | ||
| 1.4.3 | ||
| 1.4.2 | ||
| 1.4.1 | ||
| 1.4.0 | ||
| 1.3.3 | ||
| 1.3.2 |
Showing the latest 30 of 55. See every release on npm