Skip to content

Commit

Permalink
Update url-loader config (vuejs-templates#590)
Browse files Browse the repository at this point in the history
> Rule.query only exists for compatibility reasons. Use Rule.options instead.
  • Loading branch information
zce authored and kazupon committed Mar 26, 2017
1 parent 26654f9 commit f78054e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/build/webpack.base.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ module.exports = {
{
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
loader: 'url-loader',
query: {
options: {
limit: 10000,
name: utils.assetsPath('img/[name].[hash:7].[ext]')
}
},
{
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
loader: 'url-loader',
query: {
options: {
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}
Expand Down

0 comments on commit f78054e

Please sign in to comment.