mirror of
https://github.com/react-webpack-generators/generator-react-webpack.git
synced 2025-12-08 18:01:59 +00:00
feat: added font loading to karma conf
Signed-off-by: Simon Bailey <simon@newtriks.com>
This commit is contained in:
parent
b7536977f9
commit
e9250714d7
@ -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: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user