diff --git a/src/index.js b/src/index.js index 77da64ba23..dfcc7c8e07 100644 --- a/src/index.js +++ b/src/index.js @@ -11,6 +11,10 @@ if (typeof (module) !== 'undefined' && typeof (module.exports) !== 'undefined') module.exports = modules() } +if (typeof (window) !== 'undefined') { + window.remix = modules() +} + function modules () { return { code: {