mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-19 14:17:59 +01:00
fix vitest error
This commit is contained in:
parent
9f081ac8d6
commit
6b69971a5c
1 changed files with 2 additions and 3 deletions
|
@ -1,13 +1,12 @@
|
|||
/// <reference types="vitest" />
|
||||
import fs from 'fs';
|
||||
import path from 'path';
|
||||
import autoprefixer from 'autoprefixer';
|
||||
import postcssMixins from 'postcss-mixins';
|
||||
import postcssSimpleVars from 'postcss-simple-vars';
|
||||
import postcssRelativeColor from '@csstools/postcss-relative-color-syntax';
|
||||
import { defineConfig, UserConfig, ConfigEnv } from 'vite';
|
||||
import { defineConfig, ViteUserConfig, ConfigEnv } from 'vitest/config';
|
||||
|
||||
export default defineConfig(({ command, mode }: ConfigEnv): UserConfig => {
|
||||
export default defineConfig(({ command, mode }: ConfigEnv): ViteUserConfig => {
|
||||
const isDev = command !== 'build' && mode !== 'test';
|
||||
const targets = new Map();
|
||||
|
||||
|
|
Loading…
Reference in a new issue