mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
396 B
TypeScript
12 lines
396 B
TypeScript
import postcss = require("postcss");
|
|
import postcssrc = require("postcss-load-config");
|
|
|
|
postcssrc();
|
|
postcssrc({ map: { inline: true } });
|
|
postcssrc({ env: 'development' }, 'path');
|
|
postcssrc({ from: 'from', to: 'to' }, 'path', { cache: true }).then(({ options, plugins }) => {
|
|
postcss(plugins).process('css', options);
|
|
});
|
|
|
|
postcssrc.sync({ parser: 'my-parser' }, 'path', { cache: true });
|