question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Post Rollup plugin compatibility

See original GitHub issue

The big rollup commit broke https://github.com/mapzen/leaflet-geocoder, and possibly other plugins. The actual error message in that case is with L.Mixin.Events:

Uncaught TypeError: Cannot read property 'Events' of undefined

My question is:

  1. Is it a change by design, and if so, is there a guideline for porting plugins to Leaflet 1.0.4 (or 1.1) so we can contribute to some common plugins to fix their issues?
  2. If not, please consider this a bug report.

Minimal example: https://playground-leaflet.rhcloud.com/qatu/1/edit?html,output

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
danzelcommented, Feb 28, 2017

I think you can call leaflet.label deprecated as we now have label support in core leaflet

0reactions
hyperknotcommented, Mar 10, 2017

@louh I’ll have a look.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Plugin API - Vite
Rollup Plugin Compatibility​​ In general, as long as a Rollup plugin fits the following criteria then it should just work as a Vite...
Read more >
Post Rollup plugin compatibility · Issue #5358 - GitHub
My question is: Is it a change by design, and if so, is there a guideline for porting plugins to Leaflet 1.0.4 (or...
Read more >
rollup.js
Compatibility. Importing CommonJS. Rollup can import existing CommonJS modules through a plugin. Publishing ES Modules. To make sure your ES modules ...
Read more >
Vite Rollup Plugins
A list of rollup plugins compatibility for Vite ~3.0.0 ; alias. Define and resolve aliases for bundle dependencies ; auto-install · Automatically install ......
Read more >
@rollup/plugin-commonjs - npm
This plugin requires an LTS Node version (v14.0.0+) and Rollup v2.68.0+. If you are using @rollup/plugin-node-resolve , it should be v13.0.6 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found