I'm concatenating Foundation 6's foundation.core.js, util.mediaQuery.js, and equalizer.js files. In the source code, the source order is jquery first, then foundation.core.js, util.mediaQuery.js, and the plug-in file, per the documentation. I also compile their JS to ECMAScript 2015, using Babel per Zurb's docs.
This error occurs with util.mediaQuery.js included:
Uncaught TypeError: Foundation.onImagesLoaded is not a function(…)
This error occurs without util.mediaQuery.js included:
Uncaught TypeError: Cannot read property '_init' of undefined
Then, on a different page within the docs is this nugget: "if you're only using certain plugins, know that they all require foundation.core.js and foundation.util.mediaQuery.js to be loaded first".
Despite this nebulous direction, one of the two above scenarios should produce a functioning plug-in rather than an error.
Any insight as to why it's occurring is greatly appreciated.