unplugin-vue-components icon indicating copy to clipboard operation
unplugin-vue-components copied to clipboard

feat(idux): update idux resolver to support v2 version

Open sallerli1 opened this issue 2 years ago • 1 comments

Description

Since we recently published beta version of Idux v2, and we changed our theme and style import methods, original resolve wouldn't correctly import style and theme assets of v2 version components.

Linked Issues

https://github.com/unplugin/unplugin-vue-components/issues/721

Additional context

I added a version configuration to the options of the resolver which is auto detected by local-package by default

original side effects resolve method is moved to getLegacySideEffects

sallerli1 avatar Dec 01 '23 13:12 sallerli1

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@antfu can u please review this pr? 2.0 version has been published for months and we've been using this version for production for quite a while thanks for ur support

sallerli1 avatar Apr 30 '24 02:04 sallerli1