1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-23 02:22:02 +03:00
This commit is contained in:
Eugene Pankov 2017-06-23 23:52:51 +02:00
parent 30afccdc57
commit 6f2008e5a2
4 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,8 @@ import * as path from 'path'
const nodeModule = require('module')
const nodeRequire = (global as any).require
declare function delay (ms: number): Promise<void>
function normalizePath (path: string): string {
const cygwinPrefix = '/cygdrive/'
if (path.startsWith(cygwinPrefix)) {

View File

@ -18,11 +18,13 @@
"dom",
"es2015",
"es2015.iterable.ts",
"es2017",
"es7"
]
},
"compileOnSave": false,
"exclude": [
"dist",
"node_modules",
"*/node_modules",
"terminus*",

View File

@ -1,7 +1,6 @@
{
"name": "term",
"devDependencies": {
"@types/core-js": "0.9.35",
"@types/electron": "1.4.34",
"@types/fs-promise": "1.0.1",
"@types/node": "7.0.5",

View File

@ -18,7 +18,7 @@ vars.builtinPlugins.forEach(plugin => {
sh.exec(`npm install --only=prod`)
log.info('rebuild', 'native')
if (fs.existsSync('node_modules')) {
rebuild(path.resolve('.'), vars.electronVersion, process.arch, vars.nativeModules, true)
rebuild(path.resolve('.'), vars.electronVersion, process.arch, [], true)
}
sh.cd('..')
})