2017-05-01 19:08:11 +10:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
/* weak */
|
|
|
|
// This file is auto-written and used by Gatsby to require
|
|
|
|
// files from your pages directory.
|
|
|
|
module.exports = function (callback) {
|
2017-06-16 17:17:54 +02:00
|
|
|
var context = require.context('./pages', true, /(coffee|cjsx|ts|tsx|jsx|js|md|rmd|mkdn?|mdwn|mdown|markdown|litcoffee|ipynb|html|json|yaml|toml)$/ // eslint-disable-line
|
|
|
|
);if (module.hot) {
|
2017-05-01 19:08:11 +10:00
|
|
|
module.hot.accept(context.id, function () {
|
2017-06-16 17:17:54 +02:00
|
|
|
context = require.context('./pages', true, /(coffee|cjsx|ts|tsx|jsx|js|md|rmd|mkdn?|mdwn|mdown|markdown|litcoffee|ipynb|html|json|yaml|toml)$/ // eslint-disable-line
|
|
|
|
);return callback(context);
|
2017-05-01 19:08:11 +10:00
|
|
|
});
|
|
|
|
}
|
|
|
|
return callback(context);
|
|
|
|
};
|