Skip to content

Commit

Permalink
fix: Re-add support for using this plugin on Windows
Browse files Browse the repository at this point in the history
closes #175
closes #179
  • Loading branch information
cmfcmf committed Apr 10, 2023
1 parent 96a67d8 commit eba2fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docusaurus-search-local/src/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ export const tokenize = (input) => lunr.tokenizer(input)
module: {
rules: [
{
test: /client\/theme\/SearchBar\/d-s-l-a-generated\.js$/,
test: /client[\\\/]theme[\\\/]SearchBar[\\\/]d-s-l-a-generated\.js$/,
use: [
getJSLoader({ isServer }),
{
Expand Down

0 comments on commit eba2fdd

Please sign in to comment.