Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion env.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference types="vite/client" />
/// <reference types="vitest" />
/// <reference types="@testing-library/jest-dom" />
/// <reference types="@testing-library/jest-dom/vitest" />

interface ImportMetaEnv {
readonly BASE?: string;
Expand Down
1 change: 1 addition & 0 deletions prettier.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ import { type Config } from 'prettier';
export default {
plugins: ['prettier-plugin-tailwindcss'],
singleQuote: true,
tailwindStylesheet: './src/index.css',
} satisfies Config;
2 changes: 1 addition & 1 deletion src/ClockHands.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export const ClockHands = () => {
/>
<ClockHand
transform={second()}
class="stroke-solid-light dark:stroke-solid stroke-2"
class="stroke-solid-light stroke-2 dark:stroke-solid"
length={76}
/>
</>
Expand Down
1 change: 0 additions & 1 deletion test/vitest-setup.ts

This file was deleted.

3 changes: 1 addition & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { checker } from 'vite-plugin-checker';
export default defineConfig(({ mode }) => ({
base: loadEnv(mode, process.cwd(), '')['BASE'] ?? '',
plugins: [
tsconfigPaths(),
tsconfigPaths({ projectDiscovery: 'lazy' }),
tailwindcss(),
solid(),
checker({
Expand All @@ -22,7 +22,6 @@ export default defineConfig(({ mode }) => ({
],
test: {
environment: 'happy-dom',
setupFiles: 'test/vitest-setup.ts',
},
resolve: {
conditions: ['development', 'browser'],
Expand Down