We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57cfb71 commit e7f4e94Copy full SHA for e7f4e94
packages/devtools/src/app/components/modules/Folder.vue
@@ -29,7 +29,7 @@ const moduleTree = computed(() => {
29
const inNodeModules: ModuleDest[] = []
30
const inVirtual: ModuleDest[] = []
31
32
- props.modules.map(i => ({ full: i.id, path: i.path })).forEach((i) => {
+ props.modules.map(i => ({ full: i.id, path: i.path! })).forEach((i) => {
33
if (i.full.startsWith(props.session.meta.cwd)) {
34
if (!i.path.startsWith('../')) {
35
i.path = i.full.slice(props.session.meta.cwd.length + 1)
packages/devtools/src/shared/types/data.ts
@@ -4,7 +4,7 @@ export type { ModuleImport }
4
5
export interface ModuleListItem {
6
id: string
7
- path: string
+ path?: string
8
fileType: string
9
imports: ModuleImport[]
10
importers: string[]
0 commit comments