mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-29 13:11:10 +08:00
feat: added font loading to karma conf
Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
1 parent
b7536977f9
commit
e9250714d7
1 file changed
+6
@@ -47,6 +47,12 @@ module.exports = function (config) {
|
||||
},<% } %> {
|
||||
test: /\.css$/,
|
||||
loader: 'style-loader!css-loader'
|
||||
}, {
|
||||
test: /\.woff/,
|
||||
loader: 'url-loader?limit=10000&mimetype=application/font-woff'
|
||||
}, {
|
||||
test: /\.woff2/,
|
||||
loader: 'url-loader?limit=10000&mimetype=application/font-woff2'
|
||||
}]
|
||||
},
|
||||
resolve: {
|
||||
|
||||
Reference in new issue
Block a user