Make sure in the new versions to handle legacy configuration options properly!
We'll use unpkg.com to serve the entry point of your plugin as an
iframe. If your plugin is called
datocms-plugin-foobar and the entry point specified in the
build/index.html, the URL that will be loaded will be:
This means that if the page requires a JS file with an absolute path like
/js/bundle.js then it won't work, as the final URL will be
https://unpkg.com/js/bundle.js, which will be non-existent.
In general, make sure that any external resource you require is expressed as a relative path to the HTML page!