Skip to content

Commit

Permalink
add html description
Browse files Browse the repository at this point in the history
  • Loading branch information
doraeric committed Feb 19, 2021
1 parent 79ce47c commit d3f9193
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 22 deletions.
23 changes: 23 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<link rel="icon" href="favicon.ico">
<meta name="description" content="萊納,你想要紅包對吧?萊納,你拿啊!">
<meta property="og:image" content="<%= require('../Assets/Sprites/GameComic-13.jpg') %>">
<title>進擊的紅包</title>
<style type="text/css">
body {
align-items: center;
align-content: center;
text-align: center;
background: black;
}
</style>
</head>

<body>
</body>

</html>
20 changes: 0 additions & 20 deletions src/index.html

This file was deleted.

12 changes: 10 additions & 2 deletions webpack/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,19 @@ module.exports = {
WEBGL_RENDERER: JSON.stringify(true)
}),
new HtmlWebpackPlugin({
template: "./src/index.html"
template: "./public/index.html",
}),
new CopyPlugin({
patterns: [
"public",
{
context: 'public/',
from: "**/*",
globOptions: {
ignore: [
'**/index.html',
],
},
},
],
}),
]
Expand Down

0 comments on commit d3f9193

Please sign in to comment.