Skip to content

Fix import error to tslib caused by being a es2015 module #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 14, 2017

Conversation

buuhuu
Copy link

@buuhuu buuhuu commented Apr 14, 2017

This resolves the error mentioned in NathanWalker#15 by @ErikGrijzen and @YvesCandel. The problem is (shown in the stacktrace when running on android instead of ios) that the runtime seems to have problems with import * as tslib from 'tslib'. Though it works with require('tslib'), so building as commonjs module seems to be suitable.

@hypery2k hypery2k merged commit 8cb0a19 into hypery2k:ptr_15_webpack Apr 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants