Added source map config to webpack. Closes #40