1
0
mirror of synced 2024-11-13 18:00:52 +01:00

Add some files that escaped commit before

This commit is contained in:
s2224834 2019-02-28 17:50:10 +00:00
parent 934356dea8
commit d288acdd4e
2 changed files with 10 additions and 2 deletions

View File

@ -69,6 +69,7 @@
"sass-loader": "^7.1.0",
"sitemap": "^2.1.0",
"style-loader": "^0.23.1",
"svg-url-loader": "^2.3.2",
"url-loader": "^1.1.2",
"web-resource-inliner": "^4.2.1",
"webpack": "^4.28.3",

View File

@ -100,8 +100,15 @@ module.exports = {
limit: 10000
}
},
{
test: /\.svg$/,
loader: "svg-url-loader",
options: {
encoding: "base64"
}
},
{ // First party images are saved as files to be cached
test: /\.(png|jpg|gif|svg)$/,
test: /\.(png|jpg|gif)$/,
exclude: /node_modules/,
loader: "file-loader",
options: {
@ -109,7 +116,7 @@ module.exports = {
}
},
{ // Third party images are inlined
test: /\.(png|jpg|gif|svg)$/,
test: /\.(png|jpg|gif)$/,
exclude: /web\/static/,
loader: "url-loader",
options: {