docs: base icon path configuration for auto-icons#2285
docs: base icon path configuration for auto-icons#2285Sbrjt wants to merge 1 commit intowxt-dev:mainfrom
Conversation
Added instructions for configuring base icon path in wxt.config.ts.
✅ Deploy Preview for creative-fairy-df92c4 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
PatrykKuniczak
left a comment
There was a problem hiding this comment.
Let's merge it with:
https://github.com/wxt-dev/wxt/pull/2285/changes#diff-e6554a3c82501208ee1d70b8db5ca82b288ac8dfde1be3c11887cccf81ab74b0R32-R44
To simplify, because it seems redundant.
|
I'm sorry. I didn't understand. |
|
@Sbrjt Sorry my bad, because that's over changes scope, and link doesn't work well, i need to tell you. Let's merge your documentation with current from lines You need to only put autoIcons: {
baseIconPath: resolve('public/icon.svg'),
},inside line 53 and adjust description from line 32 a little, to match current docs, make it all consistent |
|
What @PatrykKuniczak is trying to say is we already have a section dedicated to config: It doesn't list them, but it does point you to the code where you can see all the options. But rather than adding anything, I think we should start generating an API reference for packages other than WXT and use a link to the type there instead of telling people to look at the code or provide more details in the README. |
|
Or better, we start publishing packages to JSR so it hosts the API reference. We can't publish |
|
Or we just use this link for now: https://npmx.dev/package-docs/@wxt-dev/auto-icons/v/latest#interface-AutoIconsOptions |
Overview
Added instructions for configuring base icon path in wxt.config.ts.
Manual Testing
None
Related Issue
None