2
0
mirror of https://github.com/elisescu/tty-server synced 2024-11-15 12:12:54 +00:00

Comment stack overflow link in webpack config

This commit is contained in:
Matthew Strasiotto 2020-09-24 10:26:59 +00:00
parent a3a2238d35
commit 492a83589d
3 changed files with 27 additions and 25 deletions

View File

@ -1,5 +1,5 @@
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: italic;
font-weight: 800;
src: url("assets/fonts/Sauce_Code_Pro_Black_Italic.ttf") format("truetype");
@ -7,7 +7,7 @@
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: normal;
font-weight: 800;
src: url("assets/fonts/Sauce_Code_Pro_Black.ttf") format("truetype");
@ -15,7 +15,7 @@
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: italic;
font-weight: 700;
src: url("assets/fonts/Sauce_Code_Pro_Bold_Italic.ttf") format("truetype");
@ -23,7 +23,7 @@
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: normal;
font-weight: 700;
src: url("assets/fonts/Sauce_Code_Pro_Bold.ttf") format("truetype");
@ -31,7 +31,7 @@
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: italic;
font-weight: 250;
src: url("assets/fonts/Sauce_Code_Pro_ExtraLight_Italic.ttf") format("truetype");
@ -39,74 +39,74 @@
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: normal;
font-weight: 250;
src: url("assets/fonts/Sauce_Code_Pro_ExtraLight.ttf") format("truetype");
src: url("assets/fonts/Sauce_Code_Pro_ExtraLight.ttf") format("truetype")
}
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: normal;
font-weight: 400;
src: url("assets/fonts/Sauce_Code_Pro_Italic.ttf") format("truetype");
src: url("assets/fonts/Sauce_Code_Pro_Italic.ttf") format("truetype")
}
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: italic;
font-weight: 300;
src: url("assets/fonts/Sauce_Code_Pro_Light_Italic.ttf") format("truetype");
src: url("assets/fonts/Sauce_Code_Pro_Light_Italic.ttf") format("truetype")
}
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: normal;
font-weight: 300;
src: url("assets/fonts/Sauce_Code_Pro_Light.ttf") format("truetype");
src: url("assets/fonts/Sauce_Code_Pro_Light.ttf") format("truetype")
}
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: italic;
font-weight: 400;
src: url("assets/fonts/Sauce_Code_Pro_Medium_Italic.ttf") format("truetype");
src: url("assets/fonts/Sauce_Code_Pro_Medium_Italic.ttf") format("truetype")
}
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: normal;
font-weight: 400;
src: url("assets/fonts/Sauce_Code_Pro_Medium.ttf") format("truetype");
src: url("assets/fonts/Sauce_Code_Pro_Medium.ttf") format("truetype")
}
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: normal;
font-weight: 400;
src: url("assets/fonts/Sauce_Code_Pro.ttf") format("truetype");
src: url("assets/fonts/Sauce_Code_Pro.ttf") format("truetype")
}
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: italic;
font-weight: 600;
src: url("assets/fonts/Sauce_Code_Pro_Semibold_Italic.ttf") format("truetype");
src: url("assets/fonts/Sauce_Code_Pro_Semibold_Italic.ttf") format("truetype")
}
@font-face {
font-family: Sauce_Code_Pro;
font-family: SauceCodePro;
font-style: normal;
font-weight: 600;
src: url("assets/fonts/Sauce_Code_Pro_Semibold.ttf") format("truetype");
src: url("assets/fonts/Sauce_Code_Pro_Semibold.ttf") format("truetype")
}
html, body {
@ -124,5 +124,5 @@ html, body {
xterm {
font-family: SourceCodePro;
font-family: SauceCodePro;
}

View File

@ -20,7 +20,7 @@ class TTYReceiver {
scrollback: 0,
fontSize: 12,
letterSpacing: 0,
fontFamily: 'Sauce_Code_Pro'
fontFamily: 'SauceCodePro'
});
this.containerElement = container;

View File

@ -2,6 +2,8 @@ const webpack = require("webpack");
const copyWebpackPlugin = require('copy-webpack-plugin')
const develBuild = process.env.TTY_SHARE_ENV === 'development';
// https://stackoverflow.com/a/57676803/9238801
let mainConfig = {
entry: {