pub fn extract_plugin_dependencies(source: &str) -> Vec<String>Expand description
Extract plugin dependency names from import ... from "fresh:plugin/NAME" statements.
Recognizes all import forms:
import type { Foo } from "fresh:plugin/bar"import { Foo } from "fresh:plugin/bar"import * as Bar from "fresh:plugin/bar"import Bar from "fresh:plugin/bar"
Returns a deduplicated list of plugin names (the part after fresh:plugin/).