1
1
mirror of https://github.com/primer/css.git synced 2024-12-26 23:54:28 +03:00
css/docs/postcss.config.js
2021-04-12 13:40:55 -07:00

15 lines
398 B
JavaScript

// This config file is necessary to get postcss-loader to work in
// ./src/@primer/gatsby-theme-doctocat/components/live-preview-wrapper.js.
const path = require('path')
module.exports = {
parser: 'postcss-scss',
plugins: [
require('postcss-node-sass')({
includePaths: [path.join(__dirname, 'node_modules')],
outputStyle: 'compressed'
}),
require('autoprefixer')
]
}