Skip to content
This repository has been archived by the owner on Oct 28, 2018. It is now read-only.

ie11 not work #2

Open
A50 opened this issue Jun 22, 2017 · 2 comments
Open

ie11 not work #2

A50 opened this issue Jun 22, 2017 · 2 comments

Comments

@A50
Copy link

A50 commented Jun 22, 2017

When npm start then ie11 error -> SCRIPT5007
row 54:
modules[moduleId].call(module.exports, module, module.exports, webpack_require);
In chrome, firefox is work and not error.

@AlexRex
Copy link
Owner

AlexRex commented Jun 23, 2017

I don't think this is related to the library. Under the hood it's using plain rx/js observables.

@jfftck
Copy link

jfftck commented Aug 1, 2017

You need to import { Observable } from 'rxjs/Observable', import { Subject } from 'rxjs/Subject', and import 'rxjs/add/observable/from' instead of import * as Rx from 'rxsj/Rx' to have it work in IE. This is a known workaround.

I also had to point to the source index.ts in the package.json file to get IE to work, so it is your code and how you are compiling.

Please read how to build libraries for Angular 2+, since I do not have the time to fix the tsconfig.josn with the correct compiling options.

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

3 participants