nishantmc / angular-material-fileupload

A fileupload component based on angular-material design
MIT License
98 stars 77 forks source link

No longer working with Angular 8 (DOCUMENT import from @angular/platform-browser) #49

Open abinggeli opened 5 years ago

abinggeli commented 5 years ago

After updating to Angular 8.0.0 I have the following issue:

[1] ERROR in ./node_modules/angular-material-fileupload/matFileUpload.esm.js 15938:26-36 [1] "export 'DOCUMENT' (imported as 'DOCUMENT$1') was not found in '@angular/platform-browser'

The reason for this is that the DOCUMENT token has been removed from angular/platform-browser (https://github.com/angular/angular/pull/28117). I tried to import DOCUMENT from angular/common, but without luck.

Is there a workaround or an idea by when this is fixed?