UNPKG

preact

Version:

Fast 3kb React-compatible Virtual DOM library.

1 lines 563 B
{"version":3,"file":"devtools.umd.js","sources":["../src/devtools.js"],"sourcesContent":["import { options, Fragment, Component } from 'preact';\n\nexport function initDevTools() {\n\tif (typeof window != 'undefined' && window.__PREACT_DEVTOOLS__) {\n\t\twindow.__PREACT_DEVTOOLS__.attachPreact('10.4.1', options, {\n\t\t\tFragment,\n\t\t\tComponent\n\t\t});\n\t}\n}\n"],"names":["window","__PREACT_DEVTOOLS__","attachPreact","options","Fragment","Component"],"mappings":"kLAGsB,oBAAVA,QAAyBA,OAAOC,qBAC1CD,OAAOC,oBAAoBC,aAAa,SAAUC,UAAS,CAC1DC,SAAAA,WACAC,UAAAA"}