Skip to content

Commit 704898d

Browse files
committed
chore: fix alias for annotations
Signed-off-by: Florent Benoit <[email protected]>
1 parent 5ab15f0 commit 704898d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vite.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ const config: UserConfig = defineConfig({
3030
resolve: {
3131
alias: {
3232
'/@/': `${join(PACKAGE_ROOT, 'src')}/`,
33-
'/@gen/': `${join(PACKAGE_ROOT, 'src-generated')}/`,
3433
},
3534
},
3635
build: {

vitest.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@
1515
*
1616
* SPDX-License-Identifier: Apache-2.0
1717
***********************************************************************/
18-
import { resolve } from 'node:path';
18+
import { join, resolve } from 'node:path';
1919
import { defineConfig } from 'vitest/config';
2020

2121
// DefineWorkspace provides a nice type hinting DX
2222
export default defineConfig({
2323
resolve: {
2424
alias: {
25+
'/@/': `${join(__dirname, 'src')}/`,
2526
'@podman-desktop/api': resolve(__dirname, '__mocks__/@podman-desktop/api.js'),
2627
},
2728
},

0 commit comments

Comments
 (0)