Overview
In the following article, I introduced creating the Mirador 4(3) version of mirador-sync-windows.
This time, I published the repository for this plugin, so this is a personal note.
Repository
It is available at the following link.
https://github.com/nakamura196/mirador-sync-windows
Demo Page
You can try it at the following link.
https://nakamura196.github.io/mirador-sync-windows/
The settings configured for publishing on GitHub Pages are as follows.
webpack
The following file was partially modified.
https://github.com/nakamura196/mirador-sync-windows/blob/main/webpack.config.js
Specifically, for publicPath, I set it to a relative path in the case of development. This addressed the issue caused by basePath.
GitHub Actions
For using GitHub Pages with GitHub Actions, I prepared the following yml file.
The tests were not working properly, so that part is commented out, but I would like to fix it in the future.
https://github.com/nakamura196/mirador-sync-windows/blob/main/.github/workflows/node.js.yml
Summary
There are still many incomplete parts, but I hope this serves as a useful reference.