@@ -49,6 +49,36 @@ export default defineNuxtConfig({
4949 } ,
5050 } ,
5151 } ,
52+ icon : {
53+ clientBundle : {
54+ // scan all components in the project and include icons
55+ scan : true ,
56+ // include all custom collections in the client bundle
57+ includeCustomCollections : true ,
58+ // guard for uncompressed bundle size, will fail the build if exceeds
59+ sizeLimitKb : 256 ,
60+ icons : [
61+ 'heroicons:clipboard-document' ,
62+ 'heroicons:chevron-right-20-solid' ,
63+ 'heroicons:chevron-left-20-solid' ,
64+ 'heroicons:hashtag-20-solid' ,
65+ 'heroicons:chevron-down-20-solid' ,
66+ 'heroicons:moon-20-solid' ,
67+ 'heroicons:sun-20-solid' ,
68+ 'heroicons:x-mark-20-solid' ,
69+ 'heroicons:rocket-launch' ,
70+ 'heroicons:arrow-up-right-20-solid' ,
71+ 'heroicons:arrow-left-20-solid' ,
72+ 'heroicons:check-circle-16-solid' ,
73+ 'vscode-icons:file-type-bun' ,
74+ 'vscode-icons:file-type-npm' ,
75+ 'vscode-icons:file-type-pnpm' ,
76+ 'vscode-icons:file-type-yarn' ,
77+ 'vscode-icons:file-type-typescript' ,
78+ 'vscode-icons:file-type-solidity' ,
79+ ] ,
80+ } ,
81+ } ,
5282 $production :
5383 process . env . NUXT_SITE_ENV === 'production'
5484 ? {
0 commit comments