Skip to content

Commit 51bbe04

Browse files
committed
test: use options object instead of inline query string
1 parent d0ccd17 commit 51bbe04

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: test/template.spec.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@ test('transform relative URLs and respects resolve alias', done => {
4949
},
5050
module: {
5151
rules: [
52-
{ test: /\.png$/, loader: 'file-loader?name=[name].[hash:6].[ext]' }
52+
{
53+
test: /\.png$/,
54+
loader: 'file-loader',
55+
options: {
56+
name: '[name].[hash:6].[ext]'
57+
}
58+
}
5359
]
5460
}
5561
}, ({ window, module }) => {

0 commit comments

Comments
 (0)