Custom resolver removes the first character from name parameter
jd-solanki opened this issue · comments
JD Solanki commented
Hi, I have below custom resolver:
resolvers: [
(name: string) => {
if (name.includes('Alert')) console.log('name :>> ', name)
},
],
and I have code like:
{{ demoCodeAlertBasic }}
With above code I get following output:
name :>> emoCodeAlertBasic
JD Solanki commented
I have created playground example at https://github.com/jd-0001/unplugin-auto-import
Upon running the playground project you will get something like the below:
Anthony Fu commented
It should be fixed I suppose