| 1234567891011121314151617 |
- /**
- * Homepage bundle (→ build/front.js) — replaces the gulp `jsf` output v4-front.min.js.
- *
- * jQuery (exposed globally) + SVGMorpheus (the icon-morph lib) + the bespoke
- * front-page.js (which embeds jquery-color). No bootstrap — the homepage doesn't use it,
- * and messenger/terminal are dropped (dead). $/jQuery are also injected into front-page.js
- * via webpack ProvidePlugin so its internal IIFEs resolve.
- */
- import $ from 'jquery';
- window.$ = window.jQuery = $;
- // svg-morpheus ships a bare `var SVGMorpheus = …` (no export); exports-loader (see
- // webpack.config.js) surfaces it so we can put it back on window for front-page.js.
- import SVGMorpheus from 'svg-morpheus/compile/minified/svg-morpheus.js';
- window.SVGMorpheus = SVGMorpheus;
- import '../js/front-page.js';
|