Fix coding style in vite config file

This commit is contained in:
Alejandro Celaya
2025-10-25 09:38:47 +02:00
parent 5fc213789c
commit a7456d599b
2 changed files with 2 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
"license": "MIT", "license": "MIT",
"type": "module", "type": "module",
"scripts": { "scripts": {
"lint": "eslint src test config/test", "lint": "eslint src test config/test *.config.{js,ts}",
"lint:fix": "node --run lint -- --fix", "lint:fix": "node --run lint -- --fix",
"types": "tsc", "types": "tsc",
"start": "vite serve --host=0.0.0.0", "start": "vite serve --host=0.0.0.0",

View File

@@ -1,11 +1,11 @@
import tailwindcss from '@tailwindcss/vite'; import tailwindcss from '@tailwindcss/vite';
import react from '@vitejs/plugin-react'; import react from '@vitejs/plugin-react';
import { playwright } from '@vitest/browser-playwright';
import { resolve } from 'path'; import { resolve } from 'path';
import { VitePWA } from 'vite-plugin-pwa'; import { VitePWA } from 'vite-plugin-pwa';
import { defineConfig } from 'vitest/config'; import { defineConfig } from 'vitest/config';
import { manifest } from './manifest'; import { manifest } from './manifest';
import pack from './package.json' with { type: 'json' }; import pack from './package.json' with { type: 'json' };
import { playwright } from '@vitest/browser-playwright';
const DEFAULT_NODE_VERSION = 'v22.10.0'; const DEFAULT_NODE_VERSION = 'v22.10.0';
const nodeVersion = process.version ?? DEFAULT_NODE_VERSION; const nodeVersion = process.version ?? DEFAULT_NODE_VERSION;