Serves font locally

This commit is contained in:
chaptergy
2021-05-12 18:03:10 +02:00
parent 62a708b416
commit 07bbece704
14 changed files with 54 additions and 3 deletions

View File

@ -90,7 +90,19 @@ module.exports = {
}
}
]
}
},
{
test: /source-sans-pro.*\.(woff(2)?)(\?v=\d+\.\d+\.\d+)?$/,
use: [
{
loader: 'file-loader',
options: {
name: '[name].[ext]',
outputPath: 'assets/'
}
}
]
}
]
},
plugins: [