We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 474c344 commit 78bd35bCopy full SHA for 78bd35b
src/compat.js
@@ -98,7 +98,7 @@ export function getAdditionalPrinters() {
98
for (let { pkg, formats } of additionalPrinterPlugins) {
99
let pluginPrinters = loadIfExists(pkg)?.printers
100
for (let format of formats) {
101
- if (format in pluginPrinters) {
+ if (pluginPrinters && format in pluginPrinters) {
102
printers[format] = pluginPrinters[format]
103
}
104
0 commit comments