let css = `
.foo {
& .bar {
color:red
}
}
`
console.log('see how they both work with `&`s ?')
console.log(require('postcss-nesting').process(css).toString())
console.log(require('postcss-nested').process(css).toString())
css = `
.foo {
.bar {
color:red
}
}
`
console.log('now see how the standards-based one from cssnext doesnt actually handle it if you dont have the &s?')
console.log(require('postcss-nesting').process(css).toString())
console.log(require('postcss-nested').process(css).toString())