Fixed include path for signup-form translations

- this fixes the path after we moved the signup-form folder between
  workspace folders
This commit is contained in:
Daniel Lockyer 2023-06-21 09:11:15 +02:00
parent 366050a87d
commit 1be11e4648
No known key found for this signature in database

View File

@ -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: {