File tree 9 files changed +12
-12
lines changed
config/cypress-ct/cypress/support
9 files changed +12
-12
lines changed Original file line number Diff line number Diff line change 2
2
"compilerOptions" : {
3
3
"paths" : {
4
4
// TODO: no longer needed after TS 5.4
5
- "#src /*" : [" ./src /*" ],
6
- // Deprecated, use `#src` instead (configured in `package.json` `imports` field)
5
+ "#/*" : [" ./*" ],
6
+ // Deprecated, use `#/ src` instead (configured in `package.json` `imports` field)
7
7
"@/*" : [" ./src/*" ]
8
8
}
9
9
},
Original file line number Diff line number Diff line change 2
2
"private" : true ,
3
3
"type" : " module" ,
4
4
"imports" : {
5
- "#src/ " : " ./src/ "
5
+ "#/* " : " ./* "
6
6
},
7
7
"scripts" : {
8
8
"dev" : " vite" ,
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export default defineConfig({
14
14
],
15
15
resolve: {
16
16
alias: {
17
- // Deprecated, use `#src` instead (configured in `package.json` `imports` field)
17
+ // Deprecated, use `#/ src` instead (configured in `package.json` `imports` field)
18
18
'@': fileURLToPath(new URL('./src', import.meta.url))
19
19
},
20
20
},
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import HelloWorld from './components/HelloWorld.vue'
5
5
6
6
<template >
7
7
<header >
8
- <img alt =" Vue logo" class =" logo" src =" #src/assets/logo.svg" width =" 125" height =" 125" />
8
+ <img alt =" Vue logo" class =" logo" src =" #/ src/assets/logo.svg" width =" 125" height =" 125" />
9
9
10
10
<div class =" wrapper" >
11
11
<HelloWorld msg =" You did it!" />
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import HelloWorld from './components/HelloWorld.vue'
5
5
6
6
<template >
7
7
<header >
8
- <img alt =" Vue logo" class =" logo" src =" #src/assets/logo.svg" width =" 125" height =" 125" />
8
+ <img alt =" Vue logo" class =" logo" src =" #/ src/assets/logo.svg" width =" 125" height =" 125" />
9
9
10
10
<div class =" wrapper" >
11
11
<HelloWorld msg =" You did it!" />
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import './commands'
20
20
// require('./commands')
21
21
22
22
// Import global styles
23
- import '#src/assets/main.css'
23
+ import '#/ src/assets/main.css'
24
24
25
25
import { mount } from 'cypress/vue'
26
26
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import './commands'
20
20
// require('./commands')
21
21
22
22
// Import global styles
23
- import '#src/assets/main.css'
23
+ import '#/ src/assets/main.css'
24
24
25
25
import { mount } from 'cypress/vue'
26
26
Original file line number Diff line number Diff line change 8
8
9
9
"paths" : {
10
10
// TODO: no longer needed after TS 5.4
11
- "#src /*" : [" ./src /*" ],
12
- // Deprecated, use `#src` instead (configured in `package.json` `imports` field)
11
+ "#/*" : [" ./*" ],
12
+ // Deprecated, use `#/ src` instead (configured in `package.json` `imports` field)
13
13
"@/*" : [" ./src/*" ]
14
14
}
15
15
}
Original file line number Diff line number Diff line change 8
8
9
9
"paths" : {
10
10
// TODO: no longer needed after TS 5.4
11
- "#src /*" : [" ./src /*" ],
12
- // Deprecated, use `#src` instead (configured in `package.json` `imports` field)
11
+ "#/*" : [" ./*" ],
12
+ // Deprecated, use `#/ src` instead (configured in `package.json` `imports` field)
13
13
"@/*" : [" ./src/*" ]
14
14
}
15
15
}
You can’t perform that action at this time.
0 commit comments