I’m using bootstrap scss and I want to prepare a css for AMP page.
Unfortunately bootstrap has 1000 “!important” and I want to get rid of them.
Is there a way to replace some string in pipeline.
I was thinking that this is correct:
{{ $grid := resources.Get "scss/grid/grid.scss" }}
{{ $gridCSS := $grid | resources.ToCSS | resources.Minify }}
{{ $gridCSSAmp := replace $gridCSS.Content "!important" "" }}
unfortunately is not