Use font as npm module

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2022-02-21 21:29:17 +05:30
parent 318e7c7458
commit 6a9964e889
17 changed files with 33 additions and 266 deletions

View file

@ -39,7 +39,7 @@ module.exports = {
use: ['html-loader'],
},
{
test: /\.(png|jpe?g|gif|otf|ttf)$/,
test: /\.(png|jpe?g|gif|otf|ttf|woff|woff2)$/,
type: 'asset/resource',
},
{