swisnl / nuxt-lucide-icons

This Nuxt module makes working with Lucide icons a breeze!
MIT License
23 stars 3 forks source link

Increase priority for duplicate icons #2

Closed JaZo closed 11 months ago

JaZo commented 11 months ago

Description

I've increased priority of duplicate icons to avoid a warning from Nuxt.

Motivation and context

I specifically chose to overwrite earlier icons as that's what's currently happening. Filtering the later icons will register the icons using a different casing, effectively being a breaking change.

Fixes #1

How has this been tested?

Updated playground and tests to include a duplicate icon.

Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply: