mirror of
https://github.com/Eugeny/tabby.git
synced 2025-10-05 14:34:54 +00:00
bundle size opt
This commit is contained in:
@@ -16,12 +16,14 @@
|
||||
],
|
||||
"author": "Eugene Pankov",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"hterm-umdjs": "1.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/deep-equal": "^1.0.0",
|
||||
"ansi-colors": "^4.1.1",
|
||||
"dataurl": "0.1.0",
|
||||
"deep-equal": "1.1.0",
|
||||
"hterm-umdjs": "1.4.1",
|
||||
"mz": "^2.6.0",
|
||||
"ps-node": "^0.1.6",
|
||||
"runes": "^0.4.2",
|
||||
|
Binary file not shown.
BIN
terminus-terminal/src/fonts/SourceCodePro.otf
Normal file
BIN
terminus-terminal/src/fonts/SourceCodePro.otf
Normal file
Binary file not shown.
@@ -31,5 +31,5 @@ x-row > span {
|
||||
|
||||
@font-face {
|
||||
font-family: "monospace-fallback";
|
||||
src: url(../fonts/Meslo.otf) format("opentype");
|
||||
src: url(../fonts/SourceCodePro.otf) format("opentype");
|
||||
}
|
||||
|
@@ -174,7 +174,7 @@
|
||||
|
||||
@font-face {
|
||||
font-family: "monospace-fallback";
|
||||
src: url(../fonts/Meslo.otf) format("opentype");
|
||||
src: url(../fonts/SourceCodePro.otf) format("opentype");
|
||||
}
|
||||
|
||||
.xterm-viewport::-webkit-scrollbar {
|
||||
|
@@ -3,6 +3,10 @@ const config = require('../webpack.plugin.config')
|
||||
module.exports = config({
|
||||
name: 'terminal',
|
||||
dirname: __dirname,
|
||||
externals: [
|
||||
'hterm-umdjs',
|
||||
'opentype.js',
|
||||
],
|
||||
})
|
||||
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/*'))
|
||||
|
Reference in New Issue
Block a user