Move fonts to subdirectory

This commit is contained in:
Florine W. Dekker 2020-07-31 11:57:01 +02:00
parent 15bea44e02
commit 671fb5ff2a
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
2 changed files with 8 additions and 2 deletions

View File

@ -74,7 +74,13 @@ module.exports = grunt => {
},
{
test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,
use: ["file-loader"],
use: [{
loader: "file-loader",
options: {
name: "[name].[ext]",
outputPath: "fonts/"
},
}],
},
],
},

View File

@ -1,6 +1,6 @@
{
"name": "minesweeper",
"version": "0.0.37",
"version": "0.0.38",
"description": "Just Minesweeper!",
"author": "Felix W. Dekker",
"browser": "dist/bundle.js",