Skip to content

Commit

Permalink
fix: disable CSS calc optimizations
Browse files Browse the repository at this point in the history
Disable calc optimizations due to several issues.
  • Loading branch information
alan-agius4 committed Jun 10, 2020
1 parent 65d065d commit bdcc938
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/styles/stylesheet-processor.ts
Expand Up @@ -118,6 +118,8 @@ export class StylesheetProcessor {

const preset = cssnanoPresetDefault({
svgo: false,
// Disable calc optimizations due to several issues.
calc: false,
});

const asyncPlugins = ['postcss-svgo'];
Expand Down

0 comments on commit bdcc938

Please sign in to comment.