mirror of
https://github.com/Eugeny/tabby
synced 2024-12-12 22:32:57 +00:00
fixed windows build
This commit is contained in:
parent
9cb10c3e21
commit
888cfc6548
1 changed files with 2 additions and 2 deletions
|
@ -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/,
|
||||
|
|
Loading…
Reference in a new issue