only build source maps in dev mode
Merge pull request #21 from lhahne/master

only build source maps in dev mode