main.js is the recompiled mirador library. It goes in web/libraries/mirador/dist/main.js To replicate this or modify the viewr library: - clone https://github.com/roblib/mirador-integration-islandora/tree/main - run 'npm install' - 'settings.js' goes in 'mirador-integration-islandora/node_modules/mirador/dist/es/src/config' - run 'npm run webpack' - The output folder webpack/dist should now contain a file main.js which you can place in your drupal installation under [webroot]/libraries/mirador/dist. - You can then go to /admin/config/media/mirador and set it to use the local version after clearing your site's cache. -