add option to generate source maps