- Fix missing copy of global options.
 - Generate sourcemap