Archived
1
0

Fix icons on safari when using cookie authentication (#398)

Cookie's are not sent with url's in -webkit-mask so we
embed the svg's directly in the css.
This commit is contained in:
Anmol Sethi
2019-04-01 15:20:39 -05:00
committed by Kyle Carberry
parent 7481395353
commit 97f5b07003
3 changed files with 15 additions and 2 deletions

View File

@ -30,13 +30,16 @@ module.exports = (options = {}) => merge(
loader: "sass-loader",
}],
}, {
test: /\.(svg|png|ttf|woff|eot|woff2)$/,
test: /\.(png|ttf|woff|eot|woff2)$/,
use: [{
loader: "file-loader",
options: {
name: "[path][name].[ext]",
},
}],
}, {
test: /\.svg$/,
loader: 'url-loader'
}],
},
plugins: [