Closed sdirix closed 2 years ago
Thank you for bringing this up! I have released a fix as part of 0.6.3.
hi @cmfcmf , could it be this issue regressed?
trailingSlash=false :
Unable to build website for locale "en".
Error: ENOENT: no such file or directory, open 'C:\Users\ABCD\Documents\Development\ABCXYZ-dev-docs\build\.html'
error Command failed with exit code 1.
trailingSlash=true --> works like a charm!
hi @cmfcmf , could it be this issue regressed?
You're right! I fixed it again, and this time I also added example docs with trailingSlash: false
to CI, so that it will hopefully not come up again. I will release v0.9.2
with this fix shortly.
@cmfcmf thanks Christian, awesome speed for fixing. totally works!
Bug description
Hi! Recently the Docusaurus team introduced a new configuration option
trailingSlash: boolean | undefined
, see here.When specifying
trailingSlash: false
and using"@cmfcmf/docusaurus-search-local": "^0.6.2"
the Docusaurus build breaks.Reproduction
Add
trailingSlash: false
to the Docusaurus configError message:
You can reproduce the issue on this branch.
Environment
Package Versions
Node Version
node -v
:v12.22.1
Docusaurus Environment
docusaurus.config.js
file: DefaultAdditional context