code: function skipModule(excludedModules) {
  	return {
  		name: 'skipModule',
  		transform: function (src, modulePath) {
  			const moduleRelativePath = path.relative(path.join(__dirname, 'src'), modulePath).split(path.sep).join('/');
  			const isModuleExcluded = excludedModules.indexOf(moduleRelativePath) > -1;
  
  			const source = new MagicString(src);
  			const sourceLength = src.length;
  
  			const transformCode = isModuleExcluded ? source.overwrite(0, sourceLength, 'export default null;'): source;
  			const transformMap = transformCode.generateMap({ hires: true });
  
  			return { code: transformCode.toString(), map: transformMap.toString() };
  		}
  	};
  }
docs: /* Rollup plugins Replaces a modules content with a null export to omit module contents.