Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

bug(loader): check for existing loader plugins when patching RequireJS #21

Description

@EisenbergEffect

The loader.js attempts to patch require.js by detecting all HTML files and prepending the module id with a custom loader plugin. However, it may be that files with an html extension have been explicitly required by the developer and aren't intended to be turned into view factories. To fix, detect whether the module id is already prepended by a loader plugin and bypass if it is.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions