MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / runPostCss

Function runPostCss

codebase/sources/less/scripts.js:41–53  ·  view source on GitHub ↗
(css, from, to)

Source from the content-addressed store, hash-verified

39 });
40
41function runPostCss(css, from, to) {
42 postcss()
43 .use(url({
44 url: 'inline'
45 }))
46 .process(css, {
47 from: from,
48 to: to
49 }).then(result => {
50 fs.writeFileSync(outputPath, result.css);
51 console.log(`Finished: ${theme} -> ${path.resolve(outputPath)}`);
52 });
53}

Callers 1

scripts.jsFile · 0.85

Calls 1

urlFunction · 0.50

Tested by

no test coverage detected