On this page

class webpack.AssetBytesParser extends Parser

Defines the parser state base type used by this module.

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

Parses the provided source and updates the parser state.