Skip to content
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.
This repository has been archived by the owner on Sep 24, 2020. It is now read-only.

Support webpack, ES6, babel builds #5

Open
@johnjjung

Description

Hi,

I tried importing via:

yarn add instabug-sdk

But then I can't import it because you're only supporting direct browser fetches.

The way I got around this was to import it into index.html which is a bit messy because we keep that file light. Then use window.ibgSdk.init({...})` to make it work, which is fine temporarily but you guys only have the min files up so can you guys support imports?

Our stack is yarn + VueJS + webpack 3...

If you support in our main.js

import 'ibgSdk` from 'instabug-sdk`

Then I'm sure not just VueJS, but also Angular and React people would very much appreciate it!

Thanks

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