isographlabs / isograph

The UI framework for teams that move fast — without breaking things.
MIT License
202 stars 9 forks source link

Support default exports of `iso` field declarations #35

Open rbalicki2 opened 3 months ago

rbalicki2 commented 3 months ago

Problem

    static ref EXTRACT_ISO_LITERAL: Regex =
        Regex::new(r"(export const ([^ ]+) =\s+)?iso(\()?`([^`]+)`(\))?(\()?").unwrap();

Solution