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
Missing dependency tslib #192
Labels
bug
Something isn't working
Comments
The I use this as a workaround in my package.json with pnpm (pnpm docs packageExtensions): "pnpm": {
"packageExtensions": {
"@cmfcmf/docusaurus-search-local": {
"dependencies": {
"tslib": "*",
"@docusaurus/utils-validation": "*"
}
}
},
"overrides": {
"@docusaurus/core": "^3.2.1"
}
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please describe the bug you are seeing
Installing docusaurus with pnpm (which have stricter defaults to hoisting) causes this plugin to be unable to import
tslib
, as it is not declared as a dependency.Docusaurus itself correctly specifies this dependency: https://github.com/facebook/docusaurus/blob/3f09fb11a12950c9419ae38fb1b7a04ec1ec8e66/packages/docusaurus/package.json#L98
How can we best reproduce the bug?
No response
Which version of Docusaurus and @cmfcmf/docusaurus-search-local are you using?
Docusaurus 2.4.1
docusaurus-local-search 1.1.0
Which Node.js version are you using?
No response
Which theme are you using?
Yes, I am using @docusaurus/theme-classic
How does your plugin config look like?
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: