fix(build): generate sourcemaps

Fixes #258.