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