mirror of
https://github.com/Eugeny/tabby.git
synced 2025-08-23 17:51:50 +00:00
.github
.vscode
.well-known
app
build
docs
extras
locale
patches
scripts
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
patches
src
README.md
package.json
tsconfig.json
tsconfig.typings.json
webpack.config.mjs
yarn.lock
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.pl-PL.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
23 lines
518 B
JavaScript
23 lines
518 B
JavaScript
import * as path from 'path'
|
|
import * as url from 'url'
|
|
const __dirname = url.fileURLToPath(new URL('.', import.meta.url))
|
|
|
|
import config from '../webpack.plugin.config.mjs'
|
|
|
|
export default () => {
|
|
const cfg = config({
|
|
name: 'terminal',
|
|
dirname: __dirname,
|
|
externals: [
|
|
'opentype.js',
|
|
],
|
|
rules: [
|
|
{
|
|
test: /lib[\\/]xterm-addon-image-worker.js$/i,
|
|
type: 'asset/source',
|
|
},
|
|
],
|
|
})
|
|
return cfg
|
|
}
|