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:
committed by
Kyle Carberry
parent
7481395353
commit
97f5b07003
@ -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: [
|
||||
|
Reference in New Issue
Block a user