From abf65f21761bbff7ace8d4871c94bc07448266c9 Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 20 Nov 2020 14:46:55 +0100 Subject: [PATCH] feat: sigma.client --- packages/nitro/src/module/nuxt2.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nitro/src/module/nuxt2.ts b/packages/nitro/src/module/nuxt2.ts index 4d3ff921b1..3fee09c3f8 100644 --- a/packages/nitro/src/module/nuxt2.ts +++ b/packages/nitro/src/module/nuxt2.ts @@ -33,10 +33,10 @@ export default function (nuxt, moduleContainer) { nuxt.server = createNuxt2DevServer(sigmaDevContext) } - // $fetch support in client + // Sigma client plugin moduleContainer.addPlugin({ - fileName: 'fetch.client.js', - src: resolve(sigmaContext._internal.runtimeDir, 'app/fetch.client.js') + fileName: 'sigma.client.js', + src: resolve(sigmaContext._internal.runtimeDir, 'app/sigma.client.js') }) // serverMiddleware bridge