rollup/rollup.config.js
function cssnext (tagName, css) {
  // A small hack: it passes :scope as :root to PostCSS.
  // This make it easy to use css variables inside tags.
  css = css.replace(/:scope/g, ':root')
  css = postcss([postcssCssnext]).process(css).css
  css = css.replace(/:root/g, ':scope')
  return css
}
function cssnext (tagName, css) {
  // A small hack: it passes :scope as :root to PostCSS.
  // This make it easy to use css variables inside tags.
  css = css.replace(/:scope/g, ':root')
  css = postcss([postcssCssnext]).process(css).css
  css = css.replace(/:root/g, ':scope')
  return css
}
function cssnext ( tagName , css ) { // A small hack: it passes :scope as :root to PostCSS. // This make it easy to use css variables inside tags. css = css . replace ( / :scope / g , ':root' ) css = postcss ( [ postcssCssnext ] ) . process ( css ) . css css = css . replace ( / :root / g , ':scope' ) return css }
Transforms new CSS specs into more compatible CSS
Transforms new CSS specs into more compatible CSS