Files
openfoodnetwork/postcss.config.js
Gaetan Craig-Riou b3dc76b8cf Fix configuration and scss to get webpack to compile
Move the Postcss config hack to postcss.config.js
2026-01-06 14:31:32 +11:00

16 lines
356 B
JavaScript

module.exports = {
plugins: [
require('postcss-import')({
// Wepacker isn't passing the configured path to Postcss, so we specify the base path here
path: process.cwd()
}),
require('postcss-flexbugs-fixes'),
require('postcss-preset-env')({
autoprefixer: {
flexbox: 'no-2009'
},
stage: 3
})
]
}