From e23765045c61f39036db576de4df7152b0f60bf3 Mon Sep 17 00:00:00 2001 From: Andrii Zhovtiak Date: Fri, 11 Aug 2023 18:57:17 +0300 Subject: [PATCH] Expanded devtoolPlugin condition to cover Linux platform --- webpack.plugin.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.plugin.config.mjs b/webpack.plugin.config.mjs index db87b1fb..d8e78f57 100644 --- a/webpack.plugin.config.mjs +++ b/webpack.plugin.config.mjs @@ -32,7 +32,7 @@ export default options => { sourceMapOptions.append = '\n//# sourceMappingURL=../../../app.asar.unpacked/assets/webpack/[url]' } - if (process.platform === 'win32' && process.env.TABBY_DEV) { + if ((process.platform === 'win32' || process.platform === 'linux') && process.env.TABBY_DEV) { devtoolPlugin = wp.EvalSourceMapDevToolPlugin }