Files
Basalt2/node_modules/preact/devtools/src/devtools.js
Robert Jelic 31787b0e9b Fix
2025-02-16 18:04:24 +01:00

11 lines
257 B
JavaScript

import { options, Fragment, Component } from 'preact';
export function initDevTools() {
if (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {
window.__PREACT_DEVTOOLS__.attachPreact('10.18.1', options, {
Fragment,
Component
});
}
}