From 1be11e464871e1888be006cfd2239551bbe725d8 Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Wed, 21 Jun 2023 09:11:15 +0200 Subject: [PATCH] Fixed include path for signup-form translations - this fixes the path after we moved the signup-form folder between workspace folders --- apps/signup-form/vite.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/signup-form/vite.config.ts b/apps/signup-form/vite.config.ts index 4d775a20e0..20ae4ba636 100644 --- a/apps/signup-form/vite.config.ts +++ b/apps/signup-form/vite.config.ts @@ -50,8 +50,8 @@ export default (function viteConfig() { }, commonjsOptions: { include: [/ghost/, /node_modules/], - dynamicRequireRoot: '../', - dynamicRequireTargets: SUPPORTED_LOCALES.map(locale => `../i18n/locales/${locale}/signup-form.json`) + dynamicRequireRoot: '../../', + dynamicRequireTargets: SUPPORTED_LOCALES.map(locale => `../../ghost/i18n/locales/${locale}/signup-form.json`) } }, test: {