Skip to content

Function: detectEmbeddedHost()

ts
function detectEmbeddedHost(filename?): EmbeddedHost | undefined;

Defined in: packages/embedded/src/index.ts:75

Detect the embedded host for a filename, or undefined when it isn't one cssdoc extracts from (including plain .css/.scss/.less, which callers should feed through as-is rather than project).

Parameters

filename?

string

Returns

EmbeddedHost | undefined

Released under the MIT License