Hi Jon , Thanks , actually this plugin uses webpack and rollup i believe , so there is a dist/ folder in which there a compiled version of the plugin , that will work cross browser.
Recently i have been coming across quite a few of these plugins, another one being glide.js, my question, is if your developing a plugin , you'd like to see how the source code works , not the build version(compiled) version , and so far as i've tested , the development version, does't seem to work in the browser, i've tried using it like so:
- import MicroModal from './index.js';
- MicroModal.init();
But this does't seem to work, so how exactly does the author of this plugin test his source code ? i'am a bit confused :| , i mean atleast you'd like to have the source work in one of the latest browsers and then compile the code to ES5 and have a build that works in all browsers, but that does't seem to be the case here.