mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-13 19:13:46 +00:00
Fix coding style in vite config file
This commit is contained in:
@@ -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",
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user