Sage 9: postcss and autoprefixer not working straight out of the box?

Hi. Am I missing something here? Did a fresh npm install, tried with some sample SASS, display:flex and -moz-border-radius, to check. Did both npm run build and :production, but this doesn’t seem to get prefixed in the end main.css.

Any idea on why?

I suspect there may be something with the postcss starting on line 167. I tried to require another PostCSS plugin and then piped that like so:

  lost(),
    autoprefixer({
      browsers: [
        'last 2 versions',
        'android 4',
        'opera 12',
      ],
    }),

Nothing happens.

Well, cheers!

See my workaround here: Flexbox prefix not being compiled. It should help but it is definitely a bug in Sage 9.

1 Like