Skip to content

Commit 760daac

Browse files
author
Tom Hutman
committed
fix styleguide webpack config for fonts
1 parent e87bb79 commit 760daac

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

styleguidist/webpack.config.styleguidist.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ const config = {
4444
test: /\.css$/,
4545
use: ['style-loader', 'css-loader', 'postcss-loader'],
4646
},
47+
{
48+
test: /\.(woff2)$/,
49+
use: [
50+
{
51+
loader: 'file-loader',
52+
}
53+
]
54+
}
4755
],
4856
},
4957
resolve: {

0 commit comments

Comments
 (0)