class webpack.CssParser extends ParserDefines the parser state base type used by this module.
new CssParser(): CssParserReturns:
CssParserAttributes
defaultMode:
"global" | "local" | "auto" | "pure"magicCommentContext:
Contextoptions:
{ animation: boolean; as: string; container: boolean; customIdents: boolean; customMedia: boolean; customSelectors: boolean; dashedIdents: boolean; defaultMode?: "global" | "local" | "auto" | "pure"; exportType?: "link" | "text" | "css-style-sheet" | "style"; fontPreload?: boolean; function: boolean; grid: boolean; import: boolean; namedExports: boolean; pure?: boolean; url: boolean; urlHints?: UrlHintRule[] }parse(source, state): ParserStateAttributes
Parses the provided source and updates the parser state.