add minecraft font

This commit is contained in:
Romain Beaumont 2021-02-27 23:58:21 +00:00
parent 8249a48646
commit 2c5006d7f9
3 changed files with 6 additions and 1 deletions

BIN
assets/minecraftia.woff Normal file

Binary file not shown.

View file

@ -3,6 +3,10 @@
<head>
<title>Prismarine Web Client</title>
<style type="text/css">
@font-face {
font-family: minecraft;
src: url(minecraftia.woff);
}
html {
overflow: hidden;
}

View file

@ -61,7 +61,8 @@ const config = {
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/blocksStates/'), to: './blocksStates/' },
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/textures/'), to: './textures/' },
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/worker.js'), to: './' },
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/supportedVersions.json'), to: './' }
{ from: path.join(__dirname, '/node_modules/prismarine-viewer/public/supportedVersions.json'), to: './' },
{ from: path.join(__dirname, 'assets/minecraftia.woff'), to: './' }
]
}),
new webpack.optimize.ModuleConcatenationPlugin(),