Skip to content

Autoloader could work using a CDN #1424

@Golmote

Description

@Golmote

Is there an actual reason to prevent the autoloader from being loaded from an absolute URL? (cc @bazooka07)

By removing the second part of this condition, we could make the following work just fine:

<script src="https://cdn.jsdelivr.net/npm/[email protected]/plugins/autoloader/prism-autoloader.js" data-autoloader-path="https://cdn.jsdelivr.net/npm/[email protected]/components/"></script>

(See related #158 (comment))

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions