Skip to content

Commit 6e3f15f

Browse files
author
Roman.Sergeenko
committed
#RI-1868 - update fonts
1 parent 9db03c0 commit 6e3f15f

20 files changed

+34
-16
lines changed

configs/webpack.config.web.prod.babel.js

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,20 @@ export default merge(commonConfig, {
122122
test: /\.css$/,
123123
use: ['style-loader', 'css-loader'],
124124
},
125+
// WOFF2 Font
126+
{
127+
test: /\.woff2(\?v=\d+\.\d+\.\d+)?$/,
128+
use: [
129+
{
130+
loader: 'file-loader',
131+
options: {
132+
name: '[hash]-[name].[ext]',
133+
outputPath: 'static',
134+
publicPath: 'static',
135+
},
136+
},
137+
],
138+
},
125139
// TTF Font
126140
{
127141
test: /\.ttf(\?v=\d+\.\d+\.\d+)?$/,
-132 KB
Binary file not shown.
32.8 KB
Binary file not shown.
-136 KB
Binary file not shown.
34.6 KB
Binary file not shown.
-134 KB
Binary file not shown.
34.7 KB
Binary file not shown.
-138 KB
Binary file not shown.
36.9 KB
Binary file not shown.
-128 KB
Binary file not shown.

0 commit comments

Comments
 (0)