mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-07 19:22:14 +09:00
refactor(imports): replace relative imports with path aliases (#2741)
This commit is contained in:
@@ -77,7 +77,7 @@ const CATALOGS: Array<StaticCatalogConfig> = [
|
||||
sourceExportName: 'ERROR_I18N_MESSAGES',
|
||||
weblateDir: path.join(REPO_ROOT, 'packages/errors/src/i18n/weblate'),
|
||||
localeTsDir: path.join(REPO_ROOT, 'packages/errors/src/i18n/locales'),
|
||||
defineImportPath: '../ErrorI18nMessages',
|
||||
defineImportPath: '@fluxer/errors/src/i18n/ErrorI18nMessages',
|
||||
defineFunctionName: 'defineErrorI18nLocaleMessages',
|
||||
exportPrefix: 'ERROR_I18N',
|
||||
},
|
||||
@@ -88,7 +88,7 @@ const CATALOGS: Array<StaticCatalogConfig> = [
|
||||
sourceExportName: 'EMAIL_I18N_MESSAGES',
|
||||
weblateDir: path.join(REPO_ROOT, 'fluxer_api/pkgs/email/src/email_i18n/weblate'),
|
||||
localeTsDir: path.join(REPO_ROOT, 'fluxer_api/pkgs/email/src/email_i18n/locales'),
|
||||
defineImportPath: '../EmailI18nMessages',
|
||||
defineImportPath: '@pkgs/email/src/email_i18n/EmailI18nMessages',
|
||||
defineFunctionName: 'defineEmailI18nLocaleMessages',
|
||||
exportPrefix: 'EMAIL_I18N',
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user