How to use the function in postcss-loader

To help you get started, we’ve selected a few postcss-loader examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github 4Catalyzer / astroturf / src / css-loader.js View on Github external
function postcss(loader, css, map, meta, cb) {
  const ctx = { ...loader };
  ctx.async = () => cb;
  ctx.query = {
    plugins: [postcssNested(), postcssAtroot()],
  };, css, map, meta);


PostCSS loader for webpack

Latest version published 5 months ago

Package Health Score

93 / 100
Full package analysis