1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-12-01 08:36:35 +03:00
tabby/terminus-terminal/webpack.config.js
2021-02-13 12:11:38 +01:00

9 lines
384 B
JavaScript

const path = require('path')
const config = require('../webpack.plugin.config')
module.exports = config({
name: 'terminal',
dirname: __dirname,
})
module.exports.resolve.modules.push('node_modules/xterm/src')
module.exports.module.rules.find(x => x.use.loader === 'awesome-typescript-loader').use.options.paths['*'].push(path.resolve(__dirname, './node_modules/xterm/src/*'))