7dd8ca13c4
* Migrate to plain CSS (remove CSS modules) Change `prefixer` to a function instead of a proxy * Switch prefix to `nc` * Replace prefixer with literal class names * Remove prefixer * Fix migration errors * fix compose migrations * Remove unnecessary theme imports * Remove old CSS import * fix sticky toolbar positioning * update to cssnano v4 so preset is used * fix css pseudo selectors * update lockfile
20 lines
419 B
JavaScript
20 lines
419 B
JavaScript
const webpack = require('webpack');
|
|
|
|
module.exports = {
|
|
plugins: [
|
|
require('postcss-import')({ addDependencyTo: webpack }),
|
|
require('postcss-cssnext')({
|
|
features: {
|
|
customProperties: {
|
|
variables: {
|
|
"preferred-font": 'inherit', // Override react-toolbox font setting
|
|
},
|
|
},
|
|
},
|
|
}),
|
|
require('cssnano')({
|
|
preset: 'default',
|
|
}),
|
|
],
|
|
};
|