The commonjs functionality is now optional and specified by a new "commonJs" option.

Unfortunately the commonjs functionality is ill-documented and difficult to get working on Windows at least. Hence its relegation to an option.