Inline sourcemap :(

pull/885/head
Rick Carlino 2018-06-13 13:49:15 -05:00
parent 659a9ba7e5
commit 64396c23fa
1 changed files with 5 additions and 2 deletions

View File

@ -9,8 +9,11 @@ var publicPath = '/webpack/';
var conf = {
mode: "none",
// Was "eval", but that did not go well with our CSP
devtool: "eval",
devtool: "inline-source-map", // inlines SourceMap into original file
// devtool: "eval-source-map", // inlines SourceMap per module
// devtool: "hidden-source-map", // SourceMap without reference in original file
// devtool: "cheap-source-map", // cheap-variant of SourceMap without module mappings
// devtool: "cheap-module-source-map", // cheap-variant of SourceMap with module mappings
entry: {
"app_bundle": "./webpack/entry.tsx",
"front_page": "./webpack/front_page/index.tsx",