Maintenance work
This commit is contained in:
parent
8910613676
commit
157a8d14d2
3 changed files with 6 additions and 2 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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 () => {
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue