Open myabeaver opened 1 year ago
@myasteiner ping 🏓 🤗
:hugs: :ping_pong:
Is it possible to takeover?
Is it possible to takeover?
when the changes I have mentioned in the comments have been made. If we see that @myasteiner does not have time, we would implement it in another PR.
Sorry, I would do that if the coming weeks I've nobody has time before.
Is it possible to takeover?
when the changes I have mentioned in the comments have been made. If we see that @myasteiner does not have time, we would implement it in another PR.
I've updated the PR does it look good for you? Btw, can we maybe also add an option to opt-out of getStaticProps per default? @aralroca
Hey @aralroca , would you mind taking a look at this PR? This is something that's a blocker for upgrading dependencies which bring very nice additions :)
For the time being, I've released @webpro/next-translate-plugin@2.6.3
. Example CJS usage:
nextTranslate({ nextTranslate: { basePath: __dirname } })
Note that I've changed the implementation a bit compared to this PR (so you can pass the basePath
and it won't be touched):
let basePath =
nextTranslate.basePath ??
path.resolve(
path.relative(pkgDir(), process.env.NEXT_TRANSLATE_PATH || '.')
)
What is the purpose of this pull request? (put an "X" next to item)
[ ] Documentation update [ ] Bug fix [x] New feature [ ] Other, please explain:
What changes did you make? (Give an overview)
basePath