Browse Source

Fixes sourcemaps

main
Eric Amodio 6 years ago
parent
commit
97cbe9e16f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      src/ui/webpack.config.js
  2. +1
    -1
      webpack.config.js

+ 1
- 1
src/ui/webpack.config.js View File

@ -130,7 +130,7 @@ module.exports = function(env, argv) {
extensions: ['.ts', '.js'],
modules: [path.resolve(__dirname), 'node_modules']
},
devtool: sourceMaps ? 'inline-source-map' : false,
devtool: sourceMaps ? 'eval-source-map' : undefined,
module: {
rules: [
{

+ 1
- 1
webpack.config.js View File

@ -46,7 +46,7 @@ module.exports = function(env, argv) {
externals: [
nodeExternals()
],
devtool: sourceMaps ? 'inline-source-map' : false,
devtool: sourceMaps ? 'eval-source-map' : undefined,
module: {
rules: [
{

Loading…
Cancel
Save