mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-29 09:18:26 +03:00
1e5cfd1d4b
New standard theme that follows your chosen terminal colors, Bootstrap 5 & Angular 15 upgrade
24 lines
573 B
JavaScript
24 lines
573 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',
|
|
},
|
|
],
|
|
})
|
|
cfg.resolve.modules.push('node_modules/xterm/src')
|
|
return cfg
|
|
}
|