Skip to main content

try_extract_magic_comment_from_comments

Function try_extract_magic_comment_from_comments 

Source
pub fn try_extract_magic_comment_from_comments(
    source: &str,
    comments: &[RawMagicComment<'_>],
    error_span: DependencyRange,
) -> (RspackCommentMap, Vec<Diagnostic>)