module.exports = (ctx) => ({
    plugins: {
        'postcss-lh': {},
        autoprefixer: {},
        cssnano: ctx.env === 'prod' ? {} : false
    }
});

const pkg = require('./package.json');

module.exports = (ctx) => ({
    plugins: {
        'postcss-lh': {},
        'autoprefixer': {},
        'postcss-replace': { data: pkg },
        'cssnano': ctx.env === 'prod' ? {} : false
    }
});

Replace dynamic strings with data from package.json
Replace dynamic strings with data from package.json
