const autoprefixer = require('autoprefixer');

module.exports = {
    plugins: [
        autoprefixer({ browsers: [ 'last 2 versions' ] })
    ]
}

const autoprefixer = require('autoprefixer');

module.exports = {
    plugins: [
        autoprefixer({ browsers: [ 'last 2 versions' ] })
    ]
};

Add missing semicolon