fegyi001 / mangol

Maps created with Angular & OpenLayers using Material design
http://188.166.116.137/mangol/
98 stars 47 forks source link

Ivy Support #30

Closed Ghostbird closed 4 years ago

Ghostbird commented 5 years ago

When I try to compile in Angular 8 with Ivy I get these messages:

WARNING in Entry point 'mangol' contains deep imports into './node_modules/ol/layer/Base', './node_modules/ol/Feature', './node_modules/ol/geom/Point', './node_modules/ol/layer/Vector', './node_modules/ol/source/Vector', './node_modules/ol/style/Fill', './node_modules/ol/style/Style', './node_modules/ol/style/Text', './node_modules/ol/control/ScaleLine', './node_modules/ol/Map', './node_modules/ol/layer/Tile', './node_modules/ol/source/OSM', './node_modules/ol/View', './node_modules/ol/style/Stroke', './node_modules/ol/style/Circle', './node_modules/ol/interaction/Draw', './node_modules/ol/format/GeoJSON', './node_modules/ol/geom/GeometryType'.
This is probably not a problem, but may cause the compilation of entry points to be out of order.

ERROR in Node does not exist: ./node_modules/mangol

When I do not compile using Ivy, the problem does not occur. Is there any solution/workaround for this? What are your plans regarding Ivy support?

fegyi001 commented 4 years ago

I upgraded Mangol to Angular v9. Mangol does not use Ivy now since npm packages cannot use it. @Ghostbird please check if the issue still exists in version 9.1.10-0.2.

Ghostbird commented 4 years ago

Sorry, I haven't tested this again, and I'm on angular 10 now, which has a different issue. I'll close this for now.