openlayers/ol3 — pull request #2707 by gberaudo (2014-09-11 11:09:40+00:00)
Title: Generate source map of minified ol.js

Allows automatic unminification by the browser.

A postprocessing is required.
If someone knows how to do this in Python or nodejs, please provide a
patch:
\#!/bin/sh
map='build/ol.js.map'
pwd=`pwd`
sed -i "s!$pwd/build!olsource!g" $map
sed -i "s!$pwd!olsource!g" $map
echo '//# sourceMappingURL=ol.js.map' >> build/ol.js

Then create an alias / copy ol3 directory to /olsource in your
deployed environment.