5 lines
168 B
JavaScript
5 lines
168 B
JavaScript
export function extractEntryAssetPath(html) {
|
|
const matched = html.match(/<script[^>]*type=["']module["'][^>]*src=["']([^"']+)["']/i);
|
|
return matched?.[1] || '';
|
|
}
|