Can't resolve '../../client' error after swizzling SearchBar #25
Open
Description
Description
When I try to swizzle the docusaurus-theme-search-typesense SearchBar component it fails to compile docusaurus with an error.
Steps to reproduce
- Run
yarn run swizzle docusaurus-theme-search-typesense SearchBar
- Select the 'Eject' option
- Run
yarn start
Expected Behavior
Local Docusaurus will start without error with a copied version of the typesense searchbar as it was previously
Actual Behavior
Docusaurus launches with an error:
Compiled with problems:X
ERROR in ./src/theme/SearchBar/index.js 7:143-199
Module not found: Error: Can't resolve '../../client' in '<redacted>\content\src\theme\SearchBar'
Metadata
docusaurus/core: 2.2.0
docusaurus-theme-search-typesense: 0.8.0
Metadata
Assignees
Labels
No labels