diff --git a/packages/integrations/vue/src/index.ts b/packages/integrations/vue/src/index.ts index 636dfba6a7..ef35055877 100644 --- a/packages/integrations/vue/src/index.ts +++ b/packages/integrations/vue/src/index.ts @@ -50,7 +50,7 @@ function virtualAppEntrypoint(options: ViteOptions) { getExports = async (id: string) => { const info = await this.load.call(this, { id }); return info.exports ?? []; - } + }; } }, configureServer(server) { @@ -58,7 +58,7 @@ function virtualAppEntrypoint(options: ViteOptions) { getExports = async (id: string) => { const mod = await server.ssrLoadModule(id); return Object.keys(mod) ?? []; - } + }; } }, resolveId(id: string) { diff --git a/packages/integrations/vue/test/app-entrypoint.test.js b/packages/integrations/vue/test/app-entrypoint.test.js index 7a40613544..3a374be1c2 100644 --- a/packages/integrations/vue/test/app-entrypoint.test.js +++ b/packages/integrations/vue/test/app-entrypoint.test.js @@ -69,7 +69,7 @@ describe('App Entrypoint no export default (dev)', () => { }); it('loads during SSR', async () => { - const html = await fixture.fetch('/').then(res => res.text()); + const html = await fixture.fetch('/').then((res) => res.text()); const { document } = parseHTML(html); const bar = document.querySelector('#foo > #bar'); expect(bar).not.to.be.undefined; @@ -77,7 +77,7 @@ describe('App Entrypoint no export default (dev)', () => { }); it('loads svg components without transforming them to assets', async () => { - const html = await fixture.fetch('/').then(res => res.text()); + const html = await fixture.fetch('/').then((res) => res.text()); const { document } = parseHTML(html); const client = document.querySelector('astro-island svg');