1
0
mirror of https://github.com/Eugeny/tabby.git synced 2025-07-26 22:38:34 +00:00
Files
.github
.vscode
app
build
docs
extras
locale
patches
scripts
build-docs.mjs
build-linux.mjs
build-macos.mjs
build-modules.mjs
build-native.mjs
build-typings.mjs
build-windows.mjs
generate-icon-metadata.mjs
i18n-extract.mjs
install-deps.mjs
prepackage-plugins.mjs
publish-plugins.mjs
sentry-upload.mjs
vars.mjs
snap
tabby-community-color-schemes
tabby-core
tabby-electron
tabby-linkifier
tabby-local
tabby-plugin-manager
tabby-serial
tabby-settings
tabby-ssh
tabby-telnet
tabby-terminal
tabby-uac
tabby-web
tabby-web-demo
web
.all-contributorsrc
.editorconfig
.env
.eslintrc.yml
.gitignore
.mergify.yml
.pug-lintrc.js
CODE_OF_CONDUCT.md
HACKING.md
LICENSE
README.de-DE.md
README.es-ES.md
README.id-ID.md
README.it-IT.md
README.ja-JP.md
README.ko-KR.md
README.md
README.pt-BR.md
README.ru-RU.md
README.zh-CN.md
electron-builder.yml
firebase.json
package.json
tsconfig.json
typedoc.mjs
webpack.config.mjs
webpack.plugin.config.mjs
yarn.lock
tabby/scripts/build-modules.mjs
Eugene 1e5cfd1d4b bootstrap 5 WIP ()
New standard theme that follows your chosen terminal colors, Bootstrap 5 & Angular 15 upgrade
2023-02-26 20:42:31 +01:00

23 lines
593 B
JavaScript
Executable File

#!/usr/bin/env node
import * as vars from './vars.mjs'
import log from 'npmlog'
import webpack from 'webpack'
import { promisify } from 'node:util'
const configs = [
'../app/webpack.config.main.mjs',
'../app/webpack.config.mjs',
...vars.allPackages.map(x => `../${x}/webpack.config.mjs`),
]
;(async () => {
for (const c of configs) {
log.info('build', c)
const stats = await promisify(webpack)((await import(c)).default())
console.log(stats.toString({ colors: true }))
if (stats.hasErrors()) {
process.exit(1)
}
}
})()