Browse Source

Switch to `nosource-source-map` for dist builds

bubble
Kyle Shockey 7 years ago
parent
commit
dccc9cfc36
4 changed files with 4 additions and 4 deletions
  1. +1
    -1
      make-webpack-config.js
  2. +1
    -1
      webpack-dist-bundle.config.js
  3. +1
    -1
      webpack-dist-standalone.config.js
  4. +1
    -1
      webpack-dist.config.js

+ 1
- 1
make-webpack-config.js View File

@@ -137,7 +137,7 @@ module.exports = function(rules, options) {
}
},

devtool: specialOptions.sourcemaps ? "cheap-module-source-map" : null,
devtool: specialOptions.sourcemaps ? "nosource-source-map" : null,

plugins,



+ 1
- 1
webpack-dist-bundle.config.js View File

@@ -11,7 +11,7 @@ let rules = [
name: "[name].js"
}
},
{ loader: "babel-loader" }
{ loader: "babel-loader?retainLines=true" }
]
}
]


+ 1
- 1
webpack-dist-standalone.config.js View File

@@ -11,7 +11,7 @@ let rules = [
name: "[name].js"
}
},
{ loader: "babel-loader" }
{ loader: "babel-loader?retainLines=true" }
]
}
]


+ 1
- 1
webpack-dist.config.js View File

@@ -13,7 +13,7 @@ let rules = [
name: "[name].js"
}
},
{ loader: "babel-loader" }
{ loader: "babel-loader?retainLines=true" }
]
}
]


Loading…
Cancel
Save