1
1
mirror of https://github.com/primer/css.git synced 2024-11-28 22:01:43 +03:00
css/postcss.config.cjs
Katie Langerman a03827b0a0
Cleanup old Primitive imports (#2606)
* cleanup

* Create three-apples-beg.md

* add color imports to sb

* sb upgrades
2024-04-09 11:55:11 -07:00

23 lines
531 B
JavaScript

const autoprefixer = require('autoprefixer')
const sass = require('@csstools/postcss-sass')
const scss = require('postcss-scss')
const scssImport = require('postcss-import')
const { join } = require('path')
module.exports = {
map: {
sourcesContent: false,
annotation: true
},
customSyntax: scss,
parser: scss,
plugins: [
scssImport,
sass({
includePaths: [join(__dirname, 'node_modules')],
outputStyle: process.env.CSS_MINIFY === '0' ? 'expanded' : 'compressed'
}),
autoprefixer
]
}