On this page

class webpack.CssParser extends ParserClass
new CssParser(): CssParser
Returns:<CssParser>
Attributes
defaultMode:
<"global"> | <"auto"> | <"local"> | <"pure">
magicCommentContext:
{Context}
options:<object>
getComments(range): void

Returns comments in the range.


parse(source, state): ParserState
Attributes
source:<string> | <Buffer>
< <ArrayBufferLike> > | <PreparsedAst>

Parses the provided source and updates the parser state.


parseCommentOptions(range): void

Parses comment options.

Attributes
range:
<Tuple> < <number> , <number> >
value:<string>

Attributes
column:<number>