Package Exports
- @electron-fonts/metal
- @electron-fonts/metal/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@electron-fonts/metal) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Electron Fonts
Electron fonts packages provide font archives em electron desktop apps.
How to use
Install the package
On your
preload.js
, add:
import Metal from "@electron-fonts/metal"
window.addEventListener("DOMContentLoaded", () => {
Metal.inject()
})