Skip to content

Detect integrations injected by another theme #111

@BryceRussell

Description

@BryceRussell

In a recent update, there was a utility added to query what integrations are inside the project:

import { integrations } from 'my-theme:context'

if (integrations.has('@inox-tools/sitemap-ext')) {
	// ...
}

But, this utility cannot detect integrations added by another theme. This utility should also be able to detect integrations added by other themes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is neededtodoGoal for next major release

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions