I have been working more and more with build tools in my web development process over the last year and I’ve found a Gulp based workflow with the recently launched Foundation 6 works great and I’ve been gradually getting my head around the whole process.
So the change we need to make is to target these pre-transpiled versions in the project’s “config.yml” file instead. In my project configuration the path to the Foundation JS files change from this:
Note that there are quite a few other references to Foundation JS files following on from that one so change the path of all of these files accordingly, so the “/js/” part of the path changes to “/dist/plugins”.
then comment it out: