fixed bug with material icons, and reusable icon component

This commit is contained in:
Sriram Hariharan
2023-03-05 19:54:59 -06:00
parent 1f2374927d
commit 295b466505
5 changed files with 62 additions and 46 deletions

View File

@@ -67,7 +67,7 @@ export function getBuildPlugins(mode: Environment, htmlEntries: EntryId[], manif
patterns: [
{
from: path.resolve('public'),
filter: path => (path.includes('icons') ? path.includes(mode) : true),
filter: path => (path.includes('icons/icon') ? path.includes(mode) : true),
},
],
})