tabby/terminus-terminal/webpack.config.js

13 lines
454 B
JavaScript
Raw Normal View History

2017-04-12 10:12:57 +00:00
const path = require('path')
2021-02-13 11:11:38 +00:00
const config = require('../webpack.plugin.config')
module.exports = config({
name: 'terminal',
dirname: __dirname,
2021-04-08 20:26:47 +00:00
externals: [
'hterm-umdjs',
'opentype.js',
],
2021-02-13 11:11:38 +00:00
})
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/*'))