File tree Expand file tree Collapse file tree 5 files changed +28
-33
lines changed
Expand file tree Collapse file tree 5 files changed +28
-33
lines changed Original file line number Diff line number Diff line change 77 "scripts" : {
88 "lint" : " eslint --ext .js,.vue --ignore-path .gitignore --fix ./workspaces/**/*.ts" ,
99 "format" : " prettier ./workspaces/**/*.ts --write" ,
10- "test" : " vitest ./src/functions/*.test.ts" ,
11- "test:ui" : " vitest --ui" ,
12- "test:run" : " vitest run" ,
1310 "docs" : " typedoc" ,
1411 "docs:dev" : " vitepress dev docs" ,
1512 "docs:build" : " vitepress build docs" ,
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ export default defineConfig({
1212 } ,
1313 } ,
1414 plugins : [ dts ( ) ] ,
15- } ) ;
15+ } ) ;
Original file line number Diff line number Diff line change 1- import { fileURLToPath , URL } from ' node:url'
1+ import { fileURLToPath , URL } from " node:url" ;
22
3- import { defineConfig } from ' vite'
4- import vue from ' @vitejs/plugin-vue'
3+ import { defineConfig } from " vite" ;
4+ import vue from " @vitejs/plugin-vue" ;
55
66// https://vitejs.dev/config/
77export default defineConfig ( {
8- plugins : [
9- vue ( )
10- ] ,
11- resolve : {
12- alias : {
13- '@' : fileURLToPath ( new URL ( './src' , import . meta. url ) )
14- }
15- } ,
16- } )
8+ plugins : [ vue ( ) ] ,
9+ resolve : {
10+ alias : {
11+ "@" : fileURLToPath ( new URL ( "./src" , import . meta. url ) ) ,
12+ } ,
13+ } ,
14+ } ) ;
Original file line number Diff line number Diff line change 1- import { fileURLToPath } from ' node:url'
2- import { mergeConfig , defineConfig , configDefaults } from ' vitest/config'
3- import viteConfig from ' ./vite.config'
1+ import { fileURLToPath } from " node:url" ;
2+ import { mergeConfig , defineConfig , configDefaults } from " vitest/config" ;
3+ import viteConfig from " ./vite.config" ;
44
55export default mergeConfig (
6- viteConfig ,
7- defineConfig ( {
8- test : {
9- environment : ' jsdom' ,
10- exclude : [ ...configDefaults . exclude , ' e2e/**' ] ,
11- root : fileURLToPath ( new URL ( './' , import . meta. url ) )
12- }
13- } )
14- )
6+ viteConfig ,
7+ defineConfig ( {
8+ test : {
9+ environment : " jsdom" ,
10+ exclude : [ ...configDefaults . exclude , " e2e/**" ] ,
11+ root : fileURLToPath ( new URL ( "./" , import . meta. url ) ) ,
12+ } ,
13+ } )
14+ ) ;
Original file line number Diff line number Diff line change 11import { defineConfig } from "vite" ;
22import vue from "@vitejs/plugin-vue" ;
3- import basicSsl from ' @vitejs/plugin-basic-ssl' ;
3+ import basicSsl from " @vitejs/plugin-basic-ssl" ;
44
55// https://vitejs.dev/config/
66export default defineConfig ( {
7- plugins : [ vue ( ) , basicSsl ( ) ] ,
8- server : {
9- https : true ,
10- } ,
7+ plugins : [ vue ( ) , basicSsl ( ) ] ,
8+ server : {
9+ https : true ,
10+ } ,
1111} ) ;
You can’t perform that action at this time.
0 commit comments