You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It means that users of this package need to allow loading scripts from this CDN via their Content-Security-Policy
It requires an extra request, which hurts page load performance
It makes things opaque to JavaScript bundlers (they cannot optimize into messo, because the script is not visible at build time)
It makes things more fragile (if the request fails, it can prevent page loading)
I think it would be preferable to declare messo as a dependency of this package instead, and have your build bundle it into a dist/chmln.js file at build time if needed.
The text was updated successfully, but these errors were encountered:
At the moment, this library loads
messo.min.js
via the Chameleon CDN:chmln/index.js
Lines 13 to 17 in 4757952
This has some adverse implications:
I think it would be preferable to declare messo as a dependency of this package instead, and have your build bundle it into a
dist/chmln.js
file at build time if needed.The text was updated successfully, but these errors were encountered: