Tabler: add icons to ThumbNavigation
This commit is contained in:
@ -44,7 +44,7 @@ module.exports = [{
|
||||
}, {
|
||||
test: /\.svg$/,
|
||||
type: 'asset/inline',
|
||||
include: resolve('node_modules', '@material-design-icons'),
|
||||
include: resolve('app', 'icons'),
|
||||
generator: {
|
||||
dataUrl: content => svgToMiniDataURI(content.toString()),
|
||||
},
|
||||
|
||||
@ -110,6 +110,7 @@ module.exports = {
|
||||
// Override tabler's package.json to allow importing .svg files directly
|
||||
// https://stackoverflow.com/a/35990101/8811886
|
||||
'@tabler': resolve('node_modules', '@tabler'),
|
||||
'icons': resolve('app', 'icons'),
|
||||
},
|
||||
fallback: {
|
||||
path: require.resolve('path-browserify'),
|
||||
|
||||
Reference in New Issue
Block a user