diff --git a/packages/devtools/client/components/StacktraceList.vue b/packages/devtools/client/components/StacktraceList.vue
new file mode 100644
index 0000000000..aff60dfdc9
--- /dev/null
+++ b/packages/devtools/client/components/StacktraceList.vue
@@ -0,0 +1,42 @@
+
+
+
+
+
+
+ {{ item.functionName || `(anonymous)` }}
+
+
+
+
+
+
+
diff --git a/packages/devtools/client/components/TimelineDetailsFunction.vue b/packages/devtools/client/components/TimelineDetailsFunction.vue
index c1b11c8d5e..d555395c69 100644
--- a/packages/devtools/client/components/TimelineDetailsFunction.vue
+++ b/packages/devtools/client/components/TimelineDetailsFunction.vue
@@ -5,20 +5,8 @@ const props = defineProps<{
record: TimelineEventFunction
}>()
-const config = useServerConfig()
const timeAgo = useTimeAgo(() => props.record.start, { showSecond: true })
-function urlToFilepath(url: string) {
- let pathname = new URL(url).pathname
- if (pathname.startsWith('/_nuxt/'))
- pathname = pathname.slice(6)
- if (pathname.startsWith('/@id/virtual:nuxt:'))
- return `#build/${pathname.split('/.nuxt/')[1]}`.replace(/\.m?js$/, '')
- if (pathname.includes('/@fs/'))
- return `/${pathname.split('/@fs/')[1]}`
- return (config.value?.rootDir || '') + pathname
-}
-
const autoImports = useAutoImports()
const importsMetadata = computed(() => autoImports.value?.metadata)
const importItem = computed(() => {
@@ -60,19 +48,9 @@ const importItem = computed(() => {
-
-
-
- {{ item.functionName || `(anonymous)` }}
-
-
-
-
-
-
+