|
|
|
@ -21,7 +21,9 @@ export function extract_svelte_ignore(text) {
|
|
|
|
* @returns {string[]}
|
|
|
|
* @returns {string[]}
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
export function extract_svelte_ignore_from_comments(node) {
|
|
|
|
export function extract_svelte_ignore_from_comments(node) {
|
|
|
|
return flatten((node.leadingComments || []).map((comment) => extract_svelte_ignore(comment.value)));
|
|
|
|
return flatten(
|
|
|
|
|
|
|
|
(node.leadingComments || []).map((comment) => extract_svelte_ignore(comment.value))
|
|
|
|
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@ -70,7 +72,3 @@ export function extract_ignores_above_node(node) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return [];
|
|
|
|
return [];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|