MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / hmrWebSocketSolid

Function hmrWebSocketSolid

packages/vite/hmr/server/websocket.ts:5475–5478  ·  view source on GitHub ↗
(opts: { verbose?: boolean })

Source from the content-addressed store, hash-verified

5473}
5474
5475export function hmrWebSocketSolid(opts: { verbose?: boolean }): Plugin {
5476 ACTIVE_STRATEGY = resolveFrameworkStrategy('solid');
5477 return createHmrWebSocketPlugin(opts);
5478}
5479
5480export function hmrWebSocketTypescript(opts: { verbose?: boolean }): Plugin {
5481 ACTIVE_STRATEGY = resolveFrameworkStrategy('typescript');

Callers 1

getHMRPluginsFunction · 0.85

Calls 2

resolveFrameworkStrategyFunction · 0.85
createHmrWebSocketPluginFunction · 0.85

Tested by

no test coverage detected