mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-05 19:09:54 +00:00
fixed windows build
This commit is contained in:
parent
9cb10c3e21
commit
888cfc6548
@ -2,7 +2,7 @@ const path = require('path')
|
|||||||
|
|
||||||
module.exports = options => {
|
module.exports = options => {
|
||||||
const isDev = !!process.env.TERMINUS_DEV
|
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 {
|
return {
|
||||||
target: 'node',
|
target: 'node',
|
||||||
entry: 'src/index.ts',
|
entry: 'src/index.ts',
|
||||||
@ -83,7 +83,7 @@ module.exports = options => {
|
|||||||
'stream',
|
'stream',
|
||||||
'windows-native-registry',
|
'windows-native-registry',
|
||||||
'windows-process-tree',
|
'windows-process-tree',
|
||||||
//'windows-process-tree/build/Release/windows_process_tree.node',
|
'windows-process-tree/build/Release/windows_process_tree.node',
|
||||||
/^@angular/,
|
/^@angular/,
|
||||||
/^@ng-bootstrap/,
|
/^@ng-bootstrap/,
|
||||||
/^rxjs/,
|
/^rxjs/,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user