We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33aa421 commit 3d9d2a5Copy full SHA for 3d9d2a5
.gitignore
@@ -21,7 +21,7 @@
21
22
node_modules
23
bower_components
24
-
+dist
25
26
27
package.json
@@ -24,6 +24,7 @@
"css-loader": "^0.28.11",
"file-loader": "^1.1.11",
"html-webpack-plugin": "^3.1.0",
+ "image-webpack-loader": "^4.3.1",
28
"node-sass": "^4.9.2",
29
"postcss-loader": "^2.1.6",
30
"sass-loader": "^7.0.3",
webpack.config.js
@@ -45,6 +45,17 @@ module.exports = {
45
name: "fonts/[name].[ext]",
46
},
47
48
+ },
49
+ {
50
+ test: /\.(jpe?g|png|gif|svg|ico)$/i,
51
+ use: [
52
53
+ loader: 'file-loader',
54
+ options: {
55
+ outputPath: 'assets/'
56
+ }
57
58
+ ]
59
}
60
]
61
0 commit comments