require( "./criticalCss" ) should be require( "./criticalcss" );