mirror of
https://github.com/bitwarden/web
synced 2025-12-06 00:03:28 +00:00
local webfonts
This commit is contained in:
@@ -40,6 +40,17 @@ const moduleRules = [
|
||||
test: /\.(html)$/,
|
||||
loader: 'html-loader',
|
||||
},
|
||||
{
|
||||
test: /.(ttf|otf|eot|svg|woff(2)?)(\?[a-z0-9]+)?$/,
|
||||
exclude: /loading.svg/,
|
||||
use: [{
|
||||
loader: 'file-loader',
|
||||
options: {
|
||||
name: '[name].[ext]',
|
||||
outputPath: 'fonts/',
|
||||
},
|
||||
}],
|
||||
},
|
||||
{
|
||||
test: /\.(jpe?g|png|gif|svg)$/i,
|
||||
exclude: /.*(fontawesome-webfont)\.svg/,
|
||||
|
||||
Reference in New Issue
Block a user