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.
useAppConfig
1 parent 7945452 commit bfd9455Copy full SHA for bfd9455
1 file changed
packages/analytics/modules/analytics/index.ts
@@ -44,9 +44,9 @@ export default defineWxtModule({
44
? clientModuleId
45
: normalizePath(relative(wxtAnalyticsFolder, clientModuleId))
46
}';
47
-import { getAppConfig } from '#imports';
+import { useAppConfig } from '#imports';
48
49
-export const analytics = createAnalytics(getAppConfig().analytics);
+export const analytics = createAnalytics(useAppConfig().analytics);
50
`;
51
addAlias(wxt, '#analytics', wxtAnalyticsIndex);
52
wxt.hook('prepare:types', async (_, entries) => {
0 commit comments