Use webpack "inline-source-map"

> We switched to inline-source-map in JupyterLab because it was
misbehaving:
https://github.com/jupyter/jupyterlab/blob/master/jupyterlab/webpack.con
f.js#L20

https://github.com/jupyter/notebook/issues/1668#issuecomment-238640610
This commit is contained in:
Grant Nestor 2016-08-12 13:28:53 -07:00
parent a01d470fd8
commit 961b1c0ba0

View File

@ -1,6 +1,6 @@
var _ = require('underscore');
var path = require('path');
var sourcemaps = 'source-map'
var sourcemaps = 'inline-source-map'
if(process.argv.indexOf('-w') !== -1 || process.argv.indexOf('-w') !== -1 ){
console.log('watch mode detected, will switch to cheep sourcemaps')