1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-22 11:52:03 +03:00

Expanded devtoolPlugin condition to cover Linux platform

This commit is contained in:
Andrii Zhovtiak 2023-08-11 18:57:17 +03:00
parent 79cabb6eda
commit e23765045c

View File

@ -32,7 +32,7 @@ export default options => {
sourceMapOptions.append = '\n//# sourceMappingURL=../../../app.asar.unpacked/assets/webpack/[url]' 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 devtoolPlugin = wp.EvalSourceMapDevToolPlugin
} }