bedrock icon indicating copy to clipboard operation
bedrock copied to clipboard

Combine postcss with icon font generation warning

Open Wolfr opened this issue 4 years ago • 1 comments

It is currently not possible to combine postcss as an css compiler together with generating an icon font.

  css: {
    compiler: 'scss',
    minify: false,
    purge: false
  },
  icons: {
    generateIconFont: false,
    iconFontPath: "./content/scss/_icon-font.scss",
    svgIconClassPrefix: 'o-svg-icon',
    iconFontClassPrefix: 'if'
  },

Bedrock should throw an error if you attempt to do so.

Wolfr avatar Jul 15 '21 17:07 Wolfr

This relates to https://github.com/usebedrock/bedrock/pull/403 - as it's about similar settings.

However as I don't know anyone actually using postcss in combination with an icon font, I will make this a low prio item.

Wolfr avatar Nov 16 '21 10:11 Wolfr