@padcom/vite-config-default
v0.10.0
Published
This package exposes a function that defines a default Vite configuration. The default configuration consists of the following elements:
Downloads
335
Readme
Default Vite configuration
This package exposes a function that defines a default Vite configuration. The default configuration consists of the following elements:
Base configuration
- the
@/
alias to./src
- vite-eslint-plugin plugin
The base configuration (without vitest-based testing) can be used through the
defineBaseConfig()
function
Test configuration
./vitest.setup.js
initialization file- test coverage using @vitest/coverage-v8
The test configuration can be used standalone throug the defineTestConfig()
function