cartodb-4.29/lib/build/source-map-support.js
2020-06-15 10:58:47 +08:00

8 lines
313 B
JavaScript

/**
* See https://github.com/evanw/node-source-map-support#browser-support
* This is expected to be included in a browserify-module to give proper stack traces, based on browserify's source maps.
*/
if (window.location.search.indexOf('disablesourcemaps') === -1) {
require('source-map-support').install();
}