create separate js bundles for upload/download pages

This commit is contained in:
Danny Coates
2017-07-21 15:38:35 -07:00
parent 7243a10340
commit 31b810eb7d
13 changed files with 252 additions and 1058 deletions

10
frontend/src/common.js Normal file
View File

@@ -0,0 +1,10 @@
window.Raven = require('raven-js');
window.Raven.config(window.dsn).install();
window.dsn = undefined;
const testPilotGA = require('testpilot-ga');
window.analytics = new testPilotGA({
an: 'Firefox Send',
ds: 'web',
tid: window.trackerId
})