load svg with file-loader

This commit is contained in:
zhandouxiaojiji committed 2020-10-22 13:10:10 +08:00
1 parent 4db609dc78
commit fead2cdd96
9 files changed
+65 -32

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ module.exports = {
module: {
rules: [
{ test: /\.tsx?$/, loader: "ts-loader" },
{ test: /\.svg?$/, loader: "file-loader" },
{ enforce: "pre", test: /\.js$/, loader: "source-map-loader" },
{
test: /\.css$/,