1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-20 17:11:47 +03:00
tabby/tabby-terminal/webpack.config.js

16 lines
369 B
JavaScript
Raw Normal View History

2021-02-13 14:11:38 +03:00
const config = require('../webpack.plugin.config')
module.exports = config({
name: 'terminal',
dirname: __dirname,
2021-04-08 23:26:47 +03:00
externals: [
'opentype.js',
],
2022-05-27 14:34:18 +03:00
rules: [
{
test: /lib[\\/]xterm-addon-image-worker.js$/i,
type: 'asset/source',
},
],
2021-02-13 14:11:38 +03:00
})
module.exports.resolve.modules.push('node_modules/xterm/src')