-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Configuration option to customize the pkgDir #49
Comments
myabeaver
changed the title
Configuration option to customize the basePath
Configuration option to customize the pkgDir
Jun 26, 2023
We added a env variable for this https://github.com/aralroca/next-translate#13-how-to-use-next-translate-in-a-mono-repo It should work |
@aralroca This is not suitable for our use case since it does not fallback to |
@myasteiner feel free to PR 👌 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of this package are you using?
[email protected]
(includesnext-translate-plugin
)What problem do you want to solve?
We use Nx to run our monorepo. Nx has made an adjustment in version 16.3.2 that causes the current working directory to dynamically adjust depending on the project. We are therefore forced to adjust the
pkgDir
(used to create thebasePath
) to'.'
respectively the current working directory (process.cwd()
).What do you think is the correct solution to this problem?
Add a configuration option to NextConfig, such as
nextTranslate
. such as:Are you willing to submit a pull request to implement this change?
Yes
The text was updated successfully, but these errors were encountered: