Skip to content

Resolver does not honor the loader noconflict aliases #629

@rajasegar

Description

@rajasegar

If we use the loader.noConflict method from the loader.js, with the following aliases,

loader.noConflict({
require: 'myRequire'
})

the app fails with an error

Uncaught TypeError: Cannot read property 'entries' of undefined
    at new ModuleRegistry (vendor.js:formatted:68415)

because there is no global require object, we only have myRequire now

Related to ember-cli/loader.js#139

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