css_parser

package
v0.17.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(log logger.Log, source logger.Source, options Options) css_ast.AST

Types

type DuplicateRuleRemover added in v0.15.15

type DuplicateRuleRemover struct {
	// contains filtered or unexported fields
}

func MakeDuplicateRuleMangler added in v0.15.15

func MakeDuplicateRuleMangler() DuplicateRuleRemover

func (DuplicateRuleRemover) RemoveDuplicateRulesInPlace added in v0.15.15

func (remover DuplicateRuleRemover) RemoveDuplicateRulesInPlace(rules []css_ast.Rule) []css_ast.Rule

type Options added in v0.8.12

type Options struct {
	OriginalTargetEnv      string
	UnsupportedCSSFeatures compat.CSSFeature
	MinifySyntax           bool
	MinifyWhitespace       bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL