-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
infra: major version package upgrades (#203)
- upgrade all packages (except prettify) to newest versions -vite upgraded and migrated away from cjs https://vitejs.dev/guide/troubleshooting#vite-cjs-node-api-deprecated - simplify feature usage in SiteMap.vue
- Loading branch information
Showing
9 changed files
with
1,892 additions
and
659 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import { defineConfig } from "vite" | ||
import vue from "@vitejs/plugin-vue" | ||
import path from 'path' | ||
|
||
|
||
export default defineConfig(({ command, mode }) => { | ||
return { | ||
base: '', | ||
resolve: { | ||
alias: { | ||
'@': path.resolve(__dirname, './src') | ||
}, | ||
}, | ||
server: { | ||
port: 8080, | ||
}, | ||
plugins: [vue()], | ||
build: { | ||
sourcemap: mode !== 'production', | ||
} | ||
} | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
/// <reference types="vitest" /> | ||
import { defineConfig, mergeConfig } from 'vitest/config' | ||
import viteConfig from './vite.config' | ||
|
||
export default defineConfig(configEnv => mergeConfig( | ||
viteConfig(configEnv), | ||
defineConfig({ | ||
// extending app vite config | ||
test: { | ||
environment: 'jsdom', | ||
environment: 'jsdom' | ||
}, | ||
}) | ||
)) | ||
)) |