Add webpack code splitting module

Add cold-module replacement
Add webpack module hashing
This commit is contained in:
Berkeley Martinez
2016-03-20 21:43:36 -07:00
parent c77fcedcbb
commit 844afb6e2f
8 changed files with 189 additions and 203 deletions

View File

@@ -23,9 +23,9 @@ import {
Rx.config.longStackSupport = !!debug.enabled;
const log = debug('fcc:client');
const DOMContainer = document.getElementById('fcc');
const hotReloadTimeout = 5000;
const csrfToken = window.__fcc__.csrf.token;
const DOMContainer = document.getElementById('fcc');
const initialState = isColdStored() ?
getColdStorage() :
window.__fcc__.data;