tabby/tabby-terminal/webpack.config.js
2022-05-27 13:34:18 +02:00

15 lines
369 B
JavaScript

const config = require('../webpack.plugin.config')
module.exports = config({
name: 'terminal',
dirname: __dirname,
externals: [
'opentype.js',
],
rules: [
{
test: /lib[\\/]xterm-addon-image-worker.js$/i,
type: 'asset/source',
},
],
})
module.exports.resolve.modules.push('node_modules/xterm/src')