Build, Test, and Push CFDM Docker Image / test (push) Successful in 3m22s
Build, Test, and Push CFDM Docker Image / build-and-push (push) Failing after 1m29s
Build, Test, and Push CFDM Docker Image / update-wiki (push) Successful in 6s
Build, Test, and Push CFDM Docker Image / create-release (push) Has been skipped
- Changed import of 'path' to 'node:path' for better compatibility. - Merged existing Vite configuration with Vitest configuration. - Added alias for '@cfdm/ui/lib/utils' to streamline utility imports. Co-authored-by: Cursor <cursoragent@cursor.com>
18 lines
364 B
TypeScript
18 lines
364 B
TypeScript
import path from 'node:path'
|
|
import { defineConfig, mergeConfig } from 'vitest/config'
|
|
import viteConfig from './vite.config'
|
|
|
|
export default mergeConfig(
|
|
viteConfig,
|
|
defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
'@cfdm/ui/lib/utils': path.resolve(
|
|
__dirname,
|
|
'../../packages/ui/src/lib/utils.ts',
|
|
),
|
|
},
|
|
},
|
|
}),
|
|
)
|