diff --git a/app.js b/app.js deleted file mode 100644 index 07fd802..0000000 --- a/app.js +++ /dev/null @@ -1,10 +0,0 @@ -exports.loadContext = function (callback) { - let context = require.context('./pages', true) - if (module.hot) { - module.hot.accept(context.id, () => { - context = require.context('./pages', true) - return callback(context) - }) - } - return callback(context) -}