// https://webpack.js.org/guides/dependency-management/#require-context
const cache = {};

function importAll(r) {
    r.keys().forEach((key) => {
        return cache[key] = r(key);
    });
}

// Include all files named "index.js" in a "webpack.modules/" folder.
importAll(require.context('./../../content/jcr_root/', true, /\/webpack\.module\/index\.js$/));

/**
 * Uncomment the following line to include Babel's polyfill.
 * Note that this increases the size of the bundled JavaScript file.
 * So be smart about when and where to include the polyfill.
 */
// import 'babel-polyfill';

// https://webpack.js.org/guides/dependency-management/#require-context
const cache = {};

function importAll(r) {
  r.keys().forEach((key) => {
    return cache[key] = r(key);
  });
}

// Include all files named "index.js" in a "webpack.modules/" folder.
importAll(require.context('./../../content/jcr_root/', true, /\/webpack\.module\/index\.js$/));

Add note about Babel Polyfill
Add note about Babel Polyfill
