import 'index.scss';
import 'script-loader!TimelineJS3/compiled/js/timeline.js';
import generateTimeline from './timeline';

generateTimeline().then(timeline => {
  window.timeline = timeline; // eslint-disable-line no-undef
});

import 'index.scss';
import 'script-loader!TimelineJS3/compiled/js/timeline-min.js';
import generateTimeline from './timeline';

generateTimeline().then(timeline => {
  window.timeline = timeline; // eslint-disable-line no-undef
});

Load minified version of TimelineJS3
Load minified version of TimelineJS3

Shaves another ~200kB off of the javascript we ship in production.  If we're debugging issues inside of TimelineJS3, we aren't really working on our timeline anymore!
