kibana/packages/kbn-optimizer/postcss.config.js
Jonathan Budzenski b8f41a0eea
Bump cssnano to ^5 (#136864)
* Bump cssnano to ^5

* include in css configuration

* fix

* cleanup
2022-07-22 12:15:07 -05:00

20 lines
620 B
JavaScript

/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
const autoprefixer = require('autoprefixer');
const cssnano = require('cssnano');
const preset = require('cssnano-preset-default');
module.exports = {
plugins: [
autoprefixer(),
cssnano({
preset: preset({ discardComments: false }),
}),
],
};