code: function generateComponentIndex() {
      function generateSource(list) {
          const requires = list
              .map(
                  name =>
                      `  '${name}': require('./components/prism-${name}.js').default`
              )
              .join(',\n');
          return moduleExport(`{\n${requires}\n};\n`);
      }
  
      fs.writeFileSync('./src/all-components.js', generateSource(LIST));
      fs.writeFileSync(
          './src/common-components.js',
          generateSource(LIST.filter(isCommon))
      );
  }
docs: /*
  Generate a module exposing all components