Skip to content

Commit 2c5006d

Browse files
committed
add minecraft font
1 parent 8249a48 commit 2c5006d

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

assets/minecraftia.woff

6.26 KB
Binary file not shown.

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
<head>
44
<title>Prismarine Web Client</title>
55
<style type="text/css">
6+
@font-face {
7+
font-family: minecraft;
8+
src: url(minecraftia.woff);
9+
}
610
html {
711
overflow: hidden;
812
}

webpack.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ const config = {
6161
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/blocksStates/'), to: './blocksStates/' },
6262
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/textures/'), to: './textures/' },
6363
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/worker.js'), to: './' },
64-
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/supportedVersions.json'), to: './' }
64+
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/supportedVersions.json'), to: './' },
65+
{ from: path.join(__dirname, 'assets/minecraftia.woff'), to: './' }
6566
]
6667
}),
6768
new webpack.optimize.ModuleConcatenationPlugin(),

0 commit comments

Comments
 (0)