async preloadScriptList (quasarConf) {
    const list = []

    for (const name of quasarConf.electron.preloadScripts) {
      list.push(
        await preloadScript(quasarConf, name)
      )
    }

    return list
  }
We will be compiling to commonjs format because Electron requires
ESM preload scripts to run with sandbox disabled, which is a security risk
(Sandboxed preload scripts are run as plain JavaScript without an ESM context)

However, should we decide going with ESM preload scripts at some point,
we need to change the compiled file extension to .mjs (which is also an Electron requirement)