Tabler: add icons to ThumbNavigation

This commit is contained in:
Alex Gleason
2021-09-20 17:05:59 -05:00
parent 26c7068d66
commit 3de8dcced0
9 changed files with 58 additions and 10 deletions

View File

@ -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()),
},

View File

@ -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'),