MCPcopy Create free account
hub / github.com/stenciljs/core / isDevServerClient

Function isDevServerClient

src/dev-server/dev-server-utils.ts:129–131  ·  view source on GitHub ↗
(pathname: string)

Source from the content-addressed store, hash-verified

127}
128
129export function isDevServerClient(pathname: string) {
130 return pathname === c.DEV_SERVER_URL;
131}
132
133export function shouldCompress(devServerConfig: d.DevServerConfig, req: d.HttpRequest) {
134 if (!devServerConfig.gzip) {

Callers 1

serveDevClientFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected