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

mobx-react/native is not traspiled since 4.3.2 #428

Closed
KsiBart opened this issue Feb 26, 2018 · 2 comments · Fixed by #758
Closed

mobx-react/native is not traspiled since 4.3.2 #428

KsiBart opened this issue Feb 26, 2018 · 2 comments · Fixed by #758

Comments

@KsiBart
Copy link

KsiBart commented Feb 26, 2018

Hi, since 4.3.2 there is a problem with module 'mobx-react/native'.

It seams it's not transpiled and while importing import { observer, inject } from 'mobx-react/native' It returns error:

/Users/me/.../node_modules/mobx-react/native.js:1
({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,global,jest){import {
                                                                                         ^^^^^^
    
SyntaxError: Unexpected token import
@mweststrate
Copy link
Member

@KsiBart could you verify whether mobx-react@4.4.2-fix-428 fixes the issue?

@mweststrate
Copy link
Member

Released as 4.4.3, given the issue history, this probably / hopefully fixes it. Reopen if this isn't the case

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

Successfully merging a pull request may close this issue.

2 participants