module.exports = function traitComponents(scwp) { if (process.env.SIDE && 'client' === process.env.SIDE.toLowerCase()) { scwp.autoreg('trait-component'); } };