From d0c245d0d5534de24e6484e180c7f229b0f28e35 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sun, 28 Apr 2019 11:42:34 +0200 Subject: [PATCH] fixed funky source maps --- app/webpack.config.js | 2 +- app/webpack.main.config.js | 2 +- terminus-community-color-schemes/webpack.config.js | 2 +- terminus-core/webpack.config.js | 2 +- terminus-plugin-manager/webpack.config.js | 2 +- terminus-settings/webpack.config.js | 2 +- terminus-ssh/webpack.config.js | 2 +- terminus-terminal/webpack.config.js | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/webpack.config.js b/app/webpack.config.js index e30acd18..ff469906 100644 --- a/app/webpack.config.js +++ b/app/webpack.config.js @@ -14,7 +14,7 @@ module.exports = { minimize: false, }, context: __dirname, - devtool: 'source-map', + devtool: 'eval-source-map', output: { path: path.join(__dirname, 'dist'), pathinfo: true, diff --git a/app/webpack.main.config.js b/app/webpack.main.config.js index 9f51793f..73a4a891 100644 --- a/app/webpack.main.config.js +++ b/app/webpack.main.config.js @@ -9,7 +9,7 @@ module.exports = { }, mode: process.env.TERMINUS_DEV ? 'development' : 'production', context: __dirname, - devtool: 'source-map', + devtool: 'eval-source-map', output: { path: path.join(__dirname, 'dist'), pathinfo: true, diff --git a/terminus-community-color-schemes/webpack.config.js b/terminus-community-color-schemes/webpack.config.js index b407a9fb..b33336aa 100644 --- a/terminus-community-color-schemes/webpack.config.js +++ b/terminus-community-color-schemes/webpack.config.js @@ -4,7 +4,7 @@ const webpack = require('webpack') module.exports = { target: 'node', entry: 'src/index.ts', - devtool: 'source-map', + devtool: 'eval-source-map', context: __dirname, output: { path: path.resolve(__dirname, 'dist'), diff --git a/terminus-core/webpack.config.js b/terminus-core/webpack.config.js index 99e984a1..0cd3baaf 100644 --- a/terminus-core/webpack.config.js +++ b/terminus-core/webpack.config.js @@ -4,7 +4,7 @@ const webpack = require('webpack') module.exports = { target: 'node', entry: 'src/index.ts', - devtool: 'source-map', + devtool: 'eval-source-map', context: __dirname, mode: 'development', output: { diff --git a/terminus-plugin-manager/webpack.config.js b/terminus-plugin-manager/webpack.config.js index 841ec40b..560e4c7c 100644 --- a/terminus-plugin-manager/webpack.config.js +++ b/terminus-plugin-manager/webpack.config.js @@ -4,7 +4,7 @@ const webpack = require('webpack') module.exports = { target: 'node', entry: 'src/index.ts', - devtool: 'source-map', + devtool: 'eval-source-map', context: __dirname, output: { path: path.resolve(__dirname, 'dist'), diff --git a/terminus-settings/webpack.config.js b/terminus-settings/webpack.config.js index e53cda9b..35d71c51 100644 --- a/terminus-settings/webpack.config.js +++ b/terminus-settings/webpack.config.js @@ -4,7 +4,7 @@ const webpack = require('webpack') module.exports = { target: 'node', entry: 'src/index.ts', - devtool: 'source-map', + devtool: 'eval-source-map', context: __dirname, mode: 'development', output: { diff --git a/terminus-ssh/webpack.config.js b/terminus-ssh/webpack.config.js index ecb6c27f..27ee2292 100644 --- a/terminus-ssh/webpack.config.js +++ b/terminus-ssh/webpack.config.js @@ -3,7 +3,7 @@ const path = require('path') module.exports = { target: 'node', entry: 'src/index.ts', - devtool: 'source-map', + devtool: 'eval-source-map', context: __dirname, output: { path: path.resolve(__dirname, 'dist'), diff --git a/terminus-terminal/webpack.config.js b/terminus-terminal/webpack.config.js index 81826a80..90141691 100644 --- a/terminus-terminal/webpack.config.js +++ b/terminus-terminal/webpack.config.js @@ -4,7 +4,7 @@ const webpack = require('webpack') module.exports = { target: 'node', entry: 'src/index.ts', - devtool: 'source-map', + devtool: 'eval-source-map', context: __dirname, output: { path: path.resolve(__dirname, 'dist'),