Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

VitePluginComponentImport 的定义没有导出 #19

Closed
atzcl opened this issue May 24, 2021 · 1 comment
Closed

VitePluginComponentImport 的定义没有导出 #19

atzcl opened this issue May 24, 2021 · 1 comment

Comments

@atzcl
Copy link
Contributor

atzcl commented May 24, 2021

问题

编译后的 VitePluginComponentImport 的定义没有导出,这样会不方便对 vite-plugin-style-import 进行再包装

场景

写了一个 vite 的插件,里面内置了 vite-plugin-style-import 的默认配置,插件提供了配置项来对内置的配置进行修改,其定义可能是:

{
    styleImport?: VitePluginComponentImport
}

期待的效果

vite-plugin-style-import 像之前那样,暴露出 VitePluginComponentImport 的定义

image

@anncwb anncwb closed this as completed in 013dc29 May 25, 2021
@anncwb
Copy link
Collaborator

anncwb commented May 25, 2021

升级到0.10.1,会导出 VitePluginOptions

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants