From f8452fc1d3750693b5fd1556da64fceec930e21c Mon Sep 17 00:00:00 2001 From: Romuald Brillout Date: Fri, 27 Dec 2024 15:50:45 +0100 Subject: [PATCH] fix: stop overriding Wrapper meta --- packages/vike-react-antd/{Wrapper.tsx => Wrapper.server.tsx} | 0 packages/vike-react-antd/config.ts | 3 --- packages/vike-react-antd/package.json | 2 +- 3 files changed, 1 insertion(+), 4 deletions(-) rename packages/vike-react-antd/{Wrapper.tsx => Wrapper.server.tsx} (100%) diff --git a/packages/vike-react-antd/Wrapper.tsx b/packages/vike-react-antd/Wrapper.server.tsx similarity index 100% rename from packages/vike-react-antd/Wrapper.tsx rename to packages/vike-react-antd/Wrapper.server.tsx diff --git a/packages/vike-react-antd/config.ts b/packages/vike-react-antd/config.ts index 1118ace2..05760107 100644 --- a/packages/vike-react-antd/config.ts +++ b/packages/vike-react-antd/config.ts @@ -13,9 +13,6 @@ const config = { onBeforeRenderHtml: 'import:vike-react-antd/__internal/onBeforeRenderHtml:onBeforeRenderHtml', Wrapper: 'import:vike-react-antd/__internal/Wrapper:Wrapper', meta: { - Wrapper: { - env: { server: true }, - }, antd: { env: { server: true, diff --git a/packages/vike-react-antd/package.json b/packages/vike-react-antd/package.json index e272dcf8..18495994 100644 --- a/packages/vike-react-antd/package.json +++ b/packages/vike-react-antd/package.json @@ -6,7 +6,7 @@ "./config": "./dist/config.js", "./__internal/onAfterRenderHtml": "./dist/onAfterRenderHtml.js", "./__internal/onBeforeRenderHtml": "./dist/onBeforeRenderHtml.js", - "./__internal/Wrapper": "./dist/Wrapper.js" + "./__internal/Wrapper": "./dist/Wrapper.server.js" }, "scripts": { "dev": "tsc --watch",