Automattic / liveblog

Liveblogging done right. Using WordPress.
https://wordpress.org/plugins/liveblog/
311 stars 122 forks source link

Add jsonpFunction to prevent a conflict #668

Closed srtfisher closed 4 weeks ago

srtfisher commented 3 years ago

Problem: When loading the plugin with other webpack installations active, a Javascript conflict arises and throws a fatal console error. The live blog fails to load on the page.

Solution: Adds a jsonpFunction option to the webpack output to prevent a conflict with other webpack installations (brings liveblog into its own little webpack bubble).

GaryJones commented 4 weeks ago

I believe this is solved with https://github.com/Automattic/liveblog/pull/660.