tiny-vue icon indicating copy to clipboard operation
tiny-vue copied to clipboard

✨ [Feature]: Support using opentiny in node_modules

Open gweesin opened this issue 1 year ago • 0 comments

What problem does this feature solve

if a package in node_modules which is using @opentiny/vue, the demand import will loss.

Such as a package called 'tiny-wrap' like this:

import { Tab as TinyTab } from '@opentiny/vue';

// do something

export { TinyTab };

the original vue-vite-import

image

It's better if we can check something in regex:

image

What does the proposed API look like

offer a customMatchRe option to match plugin scope.

What is your project name

新意证券综合管理平台

gweesin avatar May 09 '24 09:05 gweesin