From 67dca90cc28a02b617e424ec74f1f0602263333f Mon Sep 17 00:00:00 2001 From: ML Date: Fri, 29 Nov 2024 14:18:14 +0100 Subject: [PATCH] fix: exports --- src/module.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/module.ts b/src/module.ts index 3cb4552..227317d 100644 --- a/src/module.ts +++ b/src/module.ts @@ -136,8 +136,10 @@ export default defineNuxtModule({ }, }); + const composables = ['umTrackEvent', 'umTrackView', 'umIdentify', 'umTrackRevenue']; + // add composables - addImports(['umTrackEvent', 'umTrackView', 'umIdentify'].map((name) => { + addImports(composables.map((name) => { return { name, as: name,