0.11.0 • Published 7 months ago
@padcom/vite-config-default v0.11.0
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.jsinitialization file- test coverage using @vitest/coverage-v8
The test configuration can be used standalone throug the defineTestConfig() function