Skip to content

Commit

Permalink
fix: exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ijkml committed Nov 29, 2024
1 parent 75e1a89 commit 67dca90
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,10 @@ export default defineNuxtModule<ModuleOptions>({
},
});

const composables = ['umTrackEvent', 'umTrackView', 'umIdentify', 'umTrackRevenue'];

// add composables
addImports(['umTrackEvent', 'umTrackView', 'umIdentify'].map((name) => {
addImports(composables.map((name) => {
return {
name,
as: name,
Expand Down

0 comments on commit 67dca90

Please sign in to comment.