Skip to content
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 opened this issue Nov 30, 2017 · 3 comments
Open

Support webpack, ES6, babel builds #5

johnjjung opened this issue Nov 30, 2017 · 3 comments

Comments

@johnjjung
Copy link

johnjjung commented Nov 30, 2017

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

@timbroder
Copy link

This would greatly help us as well (React)

@kevinthecity
Copy link

Bonus points for TS definitions

@vaceslav
Copy link

vaceslav commented Jul 4, 2018

is here any progress?

@sepatus88
Copy link

hello

@sepatus88
Copy link

wanna play with us

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants