Closed cmfcmf closed 1 year ago
The d-s-l-a-generated.js file should have been generated with Webpack here: https://github.com/cmfcmf/docusaurus-search-local/blob/e0baecf85cf4a0ec838e5e5a673d3f5f2fc3b34d/packages/docusaurus-search-local/src/server/index.ts#L598
d-s-l-a-generated.js
However, I didn't realize that Webpack's rules.test option doesn't normalize backslashes and slashes, and so the file wasn't created on Windows.
rules.test
This PR fixes the file generation and also configures GitHub Actions to run the tests on Windows as well as Linux.
The
d-s-l-a-generated.js
file should have been generated with Webpack here: https://github.com/cmfcmf/docusaurus-search-local/blob/e0baecf85cf4a0ec838e5e5a673d3f5f2fc3b34d/packages/docusaurus-search-local/src/server/index.ts#L598However, I didn't realize that Webpack's
rules.test
option doesn't normalize backslashes and slashes, and so the file wasn't created on Windows.This PR fixes the file generation and also configures GitHub Actions to run the tests on Windows as well as Linux.