write sourcemaps only if enabled in config
fixed wrong pointer to sourceMap flag
Merge pull request #571 from es128/master

Change `minifier` to `optimizer` consistently
Merge pull request #572 from plepers/sm_fixes

Don't write sourceMap if disabled in config
Fix typo by @skevy.
rebase