import type { Extractor } from '../types' ; import { isValidSelector } from '../utils' ; export const splitCode = ( code ) => code . split ( /[\s'"`;>=]+/g ) . filter ( isValidSelector ) ; export const extractorSplit = { name : 'split' , order : 0 , extract ( { code } ) { return new Set ( splitCode ( code ) ) ; } , } ;