MCPcopy
hub / github.com/tailwindlabs/tailwindcss / loadStylesheet

Function loadStylesheet

packages/tailwindcss/src/index.test.ts:132–141  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

130 `,
131 {
132 async loadStylesheet(id) {
133 return {
134 path: '',
135 base: '',
136 content: fs.readFileSync(
137 path.resolve(__dirname, '..', id === 'tailwindcss' ? 'index.css' : id),
138 'utf-8',
139 ),
140 }
141 },
142 },
143 ),
144 ).toMatchSnapshot()

Callers 1

substituteAtImportsFunction · 0.70

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected