Skip to main content

Plugins in old browsers

Kiosk Shell version 1 uses the Edge Legacy (version 18) browser. Plugins are not supported out of the box in Edge 18, but with some modifications, a subset of plugin features can be made to work.

Note: Page and block components are not supported in Edge 18 because Web Components support is required.

Modifications to boiler plate project

The following changes are required to make the Frontend Plugin Boilerplate ompatible with Edge 18.

  1. Edit build.mjs, add a property to the buildArgs object:
target: 'edge18'
  1. Edit plugin code, remove export default and replace it with:
async function main(context: Context) {
// ...
};

(window as any).plugins.myPlugin = main;
  1. Add a property to manifest.json:
"esm": false