Skip to content

Don't require() plugins within cram unless they're needed at build time #18

Description

@unscriptable

cram should only load plugins if they don't contain a "cramPlugin" string property but they do contain a "compile" function property. This allows a plugin to do browser-ish things at run time without jumping through hoops since it might be loaded at build time.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions