mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-12 16:43:03 +03:00
1451534b51
* add the plugin * replace size variables with px * formatting * remove px + px from calc functions * replaced rem with px * update rem calculation in functions * Update Button.svelte * replace string with number values * scrollbar appearance bug * formatting fix
21 lines
384 B
JavaScript
21 lines
384 B
JavaScript
const autoprefixer = require('autoprefixer');
|
|
const pxToRem = require('postcss-pxtorem');
|
|
|
|
const config = {
|
|
plugins: [
|
|
//But others, like autoprefixer, need to run after,
|
|
autoprefixer,
|
|
pxToRem({
|
|
rootValue: 16,
|
|
unitPrecision: 5,
|
|
propList: ['*'],
|
|
selectorBlackList: [],
|
|
replace: true,
|
|
mediaQuery: false,
|
|
minPixelValue: 0
|
|
})
|
|
]
|
|
};
|
|
|
|
module.exports = config;
|