NextJS: How do you add autoprefixer to NextJS withSass() plugin?

NextJS: How do you add autoprefixer to NextJS withSass() plugin?
0

#1

Hi! I have a nextJS project with a sass plugin. I’m trying to figure out how to add autoprefixer with the sass plugin, like create-react-app.

this is my config file:

// next.config.js
const withSass = require('@zeit/next-sass');

module.exports = withSass();

How do you pass autoprefixer to nextJS sass plugin?

Thanks Campers!! :slightly_smiling_face:


#2

A post was merged into an existing topic: NextJS: How to add nextJS config along withSass plugin?


#3