1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-19 00:02:09 +03:00
tabby/tabby-terminal/webpack.config.js
2022-05-27 13:34:18 +02:00

16 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')