postcss.config.js (470B)
1 // eslint-disable-next-line no-unused-vars 2 module.exports = ({ file, options, env }) => { 3 const { mode } = options; 4 5 return { 6 plugins: { 7 'postcss-import': {}, 8 'postcss-preset-env': { 9 importFrom: './src/assets/styles/app.css', 10 features: { 11 'custom-properties': false, 12 }, 13 }, 14 cssnano: mode === 'production' ? {} : false, 15 }, 16 }; 17 };