Skip to content

Commit

Permalink
[build] Add support for font files
Browse files Browse the repository at this point in the history
  • Loading branch information
crisbal committed Oct 6, 2017
1 parent 583c506 commit 27dd04f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build/webpack.base.config.js
Expand Up @@ -116,7 +116,7 @@ module.exports = {
},
{
test: /\.js$/,
loader: 'babel-loader',
loader: "babel-loader",
exclude: /node_modules/
},
{
Expand All @@ -126,6 +126,10 @@ module.exports = {
limit: 10000,
name: "img/[name].[hash:16].[ext]"
}
},
{
test: /\.(woff(2)?|ttf|eot|svg)(\?v=\d+\.\d+\.\d+)?$/,
loader: "url-loader?limit=10000"
}
]
},
Expand Down

0 comments on commit 27dd04f

Please sign in to comment.