Maintenance work

This commit is contained in:
Liviu Burcusel 2025-09-17 17:11:10 +02:00
parent 8910613676
commit 157a8d14d2
Signed by: liviu
GPG key ID: 6CDB37A4AD2C610C
3 changed files with 6 additions and 2 deletions

View file

@ -10,7 +10,8 @@
"dev": "vite", "dev": "vite",
"build": "run-p type-check \"build-only {@}\" --", "build": "run-p type-check \"build-only {@}\" --",
"preview": "vite preview", "preview": "vite preview",
"test:unit": "vitest run", "vitest": "vitest",
"test": "vitest run",
"coverage": "vitest run --coverage", "coverage": "vitest run --coverage",
"build-only": "vite build", "build-only": "vite build",
"type-check": "vue-tsc --build" "type-check": "vue-tsc --build"

View file

@ -32,7 +32,7 @@ describe('main.ts', () => {
vi.mocked(createApp).mockImplementation(() => ({ vi.mocked(createApp).mockImplementation(() => ({
use: vi.fn(), use: vi.fn(),
mount: vi.fn(), mount: vi.fn(),
})); } as any));
}); });
it('creates app and uses plugins', async () => { it('creates app and uses plugins', async () => {

View file

@ -19,6 +19,9 @@ export default defineConfig({
"@": fileURLToPath(new URL("./src", import.meta.url)), "@": fileURLToPath(new URL("./src", import.meta.url)),
}, },
}, },
build: {
chunkSizeWarningLimit: 2048,
},
server: { server: {
host: "0.0.0.0", host: "0.0.0.0",
port: 3000, port: 3000,