Commit 40412843457dfeeaf4f914056c02c22b2c19e067

Authored by hunshcn
Committed by GitHub
1 parent a12c5706

fix(vite-plugin-styleImport): fix ATextarea 直接引用出现样式导入错误的问题 (#2365)

build/vite/plugin/styleImport.ts
@@ -49,6 +49,7 @@ export function configStyleImportPlugin(_isBuild: boolean) { @@ -49,6 +49,7 @@ export function configStyleImportPlugin(_isBuild: boolean) {
49 // 这里是需要额外引入样式的子组件列表 49 // 这里是需要额外引入样式的子组件列表
50 // 单独引入子组件时需引入组件样式,否则会在打包后导致子组件样式丢失 50 // 单独引入子组件时需引入组件样式,否则会在打包后导致子组件样式丢失
51 const replaceList = { 51 const replaceList = {
  52 + textarea: 'input',
52 'typography-text': 'typography', 53 'typography-text': 'typography',
53 'typography-title': 'typography', 54 'typography-title': 'typography',
54 'typography-paragraph': 'typography', 55 'typography-paragraph': 'typography',