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]'
}
if (process.platform === 'win32' && process.env.TABBY_DEV) {
if ((process.platform === 'win32' || process.platform === 'linux') && process.env.TABBY_DEV) {
devtoolPlugin = wp.EvalSourceMapDevToolPlugin
}