Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const validProps = new Set(['background', 'background-image', 'content'])
- // ...
- if (!value || !validProps.has(node.prop) || !CONTAINS_ASSET_URL.test(value)) {
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement