postcss-font-magician icon indicating copy to clipboard operation
postcss-font-magician copied to clipboard

Problem with integration with cssnano

Open lexich opened this issue 11 years ago • 1 comments

https://github.com/ben-eb/cssnano/issues/39 Source

body {
  font: 100%/1.25 'Open Sans', sans-serif;
  background: #F6F5F4;
  overflow-x: hidden;
}
postcss([
  require('postcss-font-magician')({ /* options */ }),
  require('cssnano')({
        autoprefixer: false,
        sourcemap: false,
        merge: false
    })
]).process(
  fs.readFileSync('./css/src/style.css', 'utf8')
).then(function (result) {
  fs.writeFileSync('./css/style.css', result.css);
});

lexich avatar Jul 30 '15 14:07 lexich

Hi @lexich It was fixed in cssnano

rajdee avatar Nov 12 '19 10:11 rajdee