Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/preactjs/preact-cli
/ interopDefault
Function
interopDefault
packages/cli/src/lib/entry.js:6–6 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
4
const
{ h, render, hydrate } = Preact;
5
6
const
interopDefault = m => (m && m.default ? m.default : m);
7
8
const
normalizeURL = url => (url[url.length - 1] ===
'/'
? url : url +
'/'
);
9
Callers
2
entry.js
File · 0.85
init
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…