Добавил лодер для шрифтов
This commit is contained in:
@@ -42,6 +42,13 @@ module.exports = {
|
|||||||
name: "images/[name]-[hash:6].[ext]"
|
name: "images/[name]-[hash:6].[ext]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
test: /\.(ttf|eot|woff)$/,
|
||||||
|
loader: "file-loader",
|
||||||
|
options: {
|
||||||
|
prefix: "font/"
|
||||||
|
}
|
||||||
|
},
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user