usebedrock / bedrock

Bedrock is a static site generator to create large-scale HTML prototypes and document design systems
https://bedrockapp.org
Other
206 stars 28 forks source link

Combine postcss with icon font generation warning #402

Open Wolfr opened 3 years ago

Wolfr commented 3 years ago

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 commented 2 years ago

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.