mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
Fixed styles not showing up (#2799)
* Fixed styles not showing up * Removed unused css file
This commit is contained in:
parent
68147b9596
commit
c66ab852c4
|
@ -6,7 +6,6 @@
|
|||
<title>Email Handler | Monkeytype</title>
|
||||
<!-- <link rel="stylesheet" href="css/fa.css" /> -->
|
||||
<link rel="stylesheet" href="css/balloon.css" />
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
<link rel="stylesheet" href="themes/serika_dark.css" id="currentTheme" />
|
||||
<link rel="stylesheet" href="" id="funBoxTheme" />
|
||||
<link id="favicon" rel="shortcut icon" href="images/fav.png" />
|
||||
|
@ -18,6 +17,9 @@
|
|||
crossorigin="anonymous"
|
||||
referrerpolicy="no-referrer"
|
||||
/>
|
||||
<% for (var css in htmlWebpackPlugin.files.css) { %>
|
||||
<link rel="stylesheet" href="<%= htmlWebpackPlugin.files.css[css] %>" />
|
||||
<% } %>
|
||||
<meta name="name" content="Monkeytype" />
|
||||
<meta name="image" content="https://monkeytype.com/mtsocial.png" />
|
||||
<meta
|
||||
|
|
|
@ -6,11 +6,13 @@
|
|||
<title>Privacy Policy | Monkeytype</title>
|
||||
<!-- <link rel="stylesheet" href="css/fa.css" /> -->
|
||||
<link rel="stylesheet" href="css/balloon.css" />
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
<link rel="stylesheet" href="themes/serika_dark.css" id="currentTheme" />
|
||||
<link rel="stylesheet" href="" id="funBoxTheme" />
|
||||
<link id="favicon" rel="shortcut icon" href="images/fav.png" />
|
||||
<link rel="shortcut icon" href="images/fav.png" />
|
||||
<% for (var css in htmlWebpackPlugin.files.css) { %>
|
||||
<link rel="stylesheet" href="<%= htmlWebpackPlugin.files.css[css] %>" />
|
||||
<% } %>
|
||||
<meta name="name" content="Monkeytype" />
|
||||
<meta name="image" content="https://monkeytype.com/mtsocial.png" />
|
||||
<meta
|
||||
|
|
|
@ -6,11 +6,13 @@
|
|||
<title>Security Policy | Monkeytype</title>
|
||||
<!-- <link rel="stylesheet" href="css/fa.css" /> -->
|
||||
<link rel="stylesheet" href="css/balloon.css" />
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
<link rel="stylesheet" href="themes/serika_dark.css" id="currentTheme" />
|
||||
<link rel="stylesheet" href="" id="funBoxTheme" />
|
||||
<link id="favicon" rel="shortcut icon" href="images/fav.png" />
|
||||
<link rel="shortcut icon" href="images/fav.png" />
|
||||
<% for (var css in htmlWebpackPlugin.files.css) { %>
|
||||
<link rel="stylesheet" href="<%= htmlWebpackPlugin.files.css[css] %>" />
|
||||
<% } %>
|
||||
<meta name="name" content="Monkeytype" />
|
||||
<meta name="image" content="https://monkeytype.com/mtsocial.png" />
|
||||
<meta
|
||||
|
|
|
@ -6,11 +6,13 @@
|
|||
<title>Terms of Service | Monkeytype</title>
|
||||
<!-- <link rel="stylesheet" href="css/fa.css" /> -->
|
||||
<link rel="stylesheet" href="css/balloon.css" />
|
||||
<link rel="stylesheet" href="css/style.css" />
|
||||
<link rel="stylesheet" href="themes/serika_dark.css" id="currentTheme" />
|
||||
<link rel="stylesheet" href="" id="funBoxTheme" />
|
||||
<link id="favicon" rel="shortcut icon" href="images/fav.png" />
|
||||
<link rel="shortcut icon" href="images/fav.png" />
|
||||
<% for (var css in htmlWebpackPlugin.files.css) { %>
|
||||
<link rel="stylesheet" href="<%= htmlWebpackPlugin.files.css[css] %>" />
|
||||
<% } %>
|
||||
<meta name="name" content="Monkeytype" />
|
||||
<meta name="image" content="https://monkeytype.com/mtsocial.png" />
|
||||
<meta
|
||||
|
|
|
@ -84,7 +84,7 @@ const BASE_CONFIG = {
|
|||
from: resolve(__dirname, "../static"),
|
||||
to: "./",
|
||||
globOptions: {
|
||||
ignore: ["**/index.html"],
|
||||
ignore: ["**/*.html"],
|
||||
},
|
||||
},
|
||||
],
|
||||
|
@ -94,6 +94,26 @@ const BASE_CONFIG = {
|
|||
template: resolve(__dirname, "../static/index.html"),
|
||||
inject: "body",
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
filename: "terms-of-service.html",
|
||||
template: resolve(__dirname, "../static/terms-of-service.html"),
|
||||
inject: false,
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
filename: "security-policy.html",
|
||||
template: resolve(__dirname, "../static/security-policy.html"),
|
||||
inject: false,
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
filename: "email-handler.html",
|
||||
template: resolve(__dirname, "../static/email-handler.html"),
|
||||
inject: false,
|
||||
}),
|
||||
new HtmlWebpackPlugin({
|
||||
filename: "privacy-policy.html",
|
||||
template: resolve(__dirname, "../static/privacy-policy.html"),
|
||||
inject: false,
|
||||
}),
|
||||
new MiniCssExtractPlugin({
|
||||
filename: "./css/style.[chunkhash:8].css",
|
||||
}),
|
||||
|
|
Loading…
Reference in a new issue