Skip to content

How to load stacktrace-gps with RequireJS? #172

Open
@oguzhaneren

Description

@oguzhaneren

I want to try loading stacktrace.js with below configuration and its working. But I can't access stacktrace-gps from stackTrace module because its a different module. How can I load stacktrace-gps with RequireJS? (I assume stacktrace.js include all tools, its a bundle)

Thanks,

requirejs.config({
    paths: {
        stacktrace : "../js/stacktrace"
    }
})

require(["stacktrace"],function(stackTrace){
    stackTrace.fromError()...
});

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