Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix i18n module warning about absolute paths #11

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

userquin
Copy link
Contributor

@userquin userquin commented Nov 23, 2024

This PR just changes the langDir to be relative to the default i18n folder from root and also removes resolve usage in the vueI18n entry.

related #9

/cc @shuuji3

defaultLocale: 'en-US',
experimental: {
generatedLocaleFilePathFormat: 'relative',
},
vueI18n: resolve('./config/i18n.config.ts'),
vueI18n: './config/i18n.config.ts',
Copy link
Contributor Author

@userquin userquin Nov 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uhmm, this is from rootDir? We need to normalize this:

/cc @BobbieGoede

@patak-dev patak-dev merged commit c591d71 into main Nov 23, 2024
3 checks passed
@userquin userquin deleted the userquin/fix-i18n-warning branch November 23, 2024 22:49
shuuji3 added a commit to elk-zone/elk that referenced this pull request Nov 24, 2024
shuuji3 added a commit to elk-zone/elk that referenced this pull request Nov 24, 2024
shuuji3 added a commit to elk-zone/elk that referenced this pull request Nov 24, 2024
shuuji3 added a commit to elk-zone/elk that referenced this pull request Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants