MCPcopy
hub / github.com/webpack/sass-loader / getImplementationsAndAPI

Function getImplementationsAndAPI

test/helpers/getImplementationsAndAPI.js:40–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38 * @returns {{ name: string, implementation: EXPECTED_ANY, api: "modern" | "modern-compile" }} implementations
39 */
40export default function getImplementationsAndAPI() {
41 return [
42 {
43 name: sass.info.split("\t")[0],
44 implementation: sass,
45 api: "modern",
46 },
47 {
48 name: sass.info.split("\t")[0],
49 implementation: sass,
50 api: "modern-compiler",
51 },
52 {
53 name: sassEmbedded.info.split("\t")[0],
54 implementation: sassEmbedded,
55 api: "modern",
56 },
57 {
58 name: sassEmbedded.info.split("\t")[0],
59 implementation: sassEmbedded,
60 api: "modern-compiler",
61 },
62 ];
63}
64
65export { sass, sassEmbedded };

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…