From a33c9b22898a353afb7c05cfcf9e10712a9b0c88 Mon Sep 17 00:00:00 2001 From: Rui-Sun Date: Tue, 24 Dec 2024 19:04:47 +0800 Subject: [PATCH 1/2] chore: create bugserver entry --- tools/bugserver-trigger/src/index.ts | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/tools/bugserver-trigger/src/index.ts b/tools/bugserver-trigger/src/index.ts index b1e46fbb..69b77290 100644 --- a/tools/bugserver-trigger/src/index.ts +++ b/tools/bugserver-trigger/src/index.ts @@ -1,5 +1,8 @@ -// export const a = 'a'; -// export const b = 'b'; +import * as VStory from '@visactor/vstory'; -// global.a = a; -// global.b = b; +// @ts-ignore +window.VTable = VStory; + +export default { + VStory +}; From 88cd8ca396c6a9f5760a2d7f2d886d6d7c38d4a3 Mon Sep 17 00:00:00 2001 From: Rui-Sun Date: Tue, 24 Dec 2024 20:27:18 +0800 Subject: [PATCH 2/2] chore: fix VStory namespace in bugserver --- tools/bugserver-trigger/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/bugserver-trigger/src/index.ts b/tools/bugserver-trigger/src/index.ts index 69b77290..32074381 100644 --- a/tools/bugserver-trigger/src/index.ts +++ b/tools/bugserver-trigger/src/index.ts @@ -1,7 +1,7 @@ import * as VStory from '@visactor/vstory'; // @ts-ignore -window.VTable = VStory; +window.VStory = VStory; export default { VStory