leaflet.offline icon indicating copy to clipboard operation
leaflet.offline copied to clipboard

@next still yields a "CommonJS or AMD dependencies" warning.

Open VashJuan opened this issue 1 year ago • 0 comments

I uninstalled leaflet.offline (i.e., v 2.x) and installed leaflet.offline@next

npm list shows: [email protected]

It compiles fine, but I still get the following warning - that I had hoped would be resolved with the your Typescript based library. Maybe we need to await Leaflet v2 which will use the new library format? (I'm using latest of all packages, so leaflet 1.9.0)

Warning: D:\Projects\RangerTrak\rangertrak\src\app\entry\mini-lmap.component.ts depends on 'leaflet.offline'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

This is NOT blocking me, I just wanted to raise the issue and will post anything else as I uncover it.

THANKS for such a great library & keeping it moving forward!

VashJuan avatar Oct 25 '22 18:10 VashJuan