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
The Map javascript was ported from previous work done during Florence and Michael. To prepare for work on #15 the inline JS should be better organized and run through Gulp task to minimize for production.
The text was updated successfully, but these errors were encountered:
Looking through some approaches at how others have done it, this post javascript is written as .js files in assets/js. Gulp processes those and saves them into _includes/generated and then liquid includes that in the layout file.
After going down a couple of rabbit holes with babel and terser, I'm of the idea that this should coincide with a full refactor of the map code. The use of site. config variables adds an additional layer of complexity extracting out the javascript.
The Gulp workflow to use .js files and then generate a compressed version to include inline with the HTML works as planned.
Issue Overview
The Map javascript was ported from previous work done during Florence and Michael. To prepare for work on #15 the inline JS should be better organized and run through Gulp task to minimize for production.
The text was updated successfully, but these errors were encountered: