1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-23 05:03:36 +03:00

fixed windows build

This commit is contained in:
Eugene Pankov 2021-02-13 14:10:56 +01:00
parent 9cb10c3e21
commit 888cfc6548

View File

@ -2,7 +2,7 @@ const path = require('path')
module.exports = options => {
const isDev = !!process.env.TERMINUS_DEV
const devtool = isDev && process.platform === 'win32' ? 'cheap-eval-module-source-map' : 'cheap-module-source-map'
const devtool = isDev && process.platform === 'win32' ? 'eval-cheap-module-source-map' : 'cheap-module-source-map'
return {
target: 'node',
entry: 'src/index.ts',
@ -83,7 +83,7 @@ module.exports = options => {
'stream',
'windows-native-registry',
'windows-process-tree',
//'windows-process-tree/build/Release/windows_process_tree.node',
'windows-process-tree/build/Release/windows_process_tree.node',
/^@angular/,
/^@ng-bootstrap/,
/^rxjs/,