Skip to content

Commit 7f456f3

Browse files
committed
Changing webpack config url loader config
1 parent 0d2d2a0 commit 7f456f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

webpack.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ module.exports = (env, arg) => ({
3838
// options: {
3939
// name: '[path][name].[ext]',
4040
// }
41-
},*/
41+
},
4242
{
4343
test: /\.woff(2)?(\?v=[0-9]\.[0-9]\.[0-9])?$/,
4444
loader: "url-loader",
4545
options: {
4646
name: '[path][name].[ext]',
4747
limit: 10000,
4848
mimetype: 'application/font-woff',
49-
}
50-
},
49+
}
50+
}, */
5151
{
52-
test: /\.(ttf|eot|svg|png)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
52+
test: /\.(ttf|eot|svg|png|woff|woff2)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
5353
loader: "file-loader",
5454
options: {
5555
name: '[path][name].[ext]',

0 commit comments

Comments
 (0)