mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-03 06:11:57 +08:00
16 lines
369 B
JavaScript
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')
|