Skip to content

Commit

Permalink
fix(icon): 修复icon图标显示异常问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zzcr committed Jun 29, 2023
1 parent 68c0781 commit d7a6a21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internals/cli/src/commands/build/build-ui.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const getVuePlugins = (vueVersion: string) => {
}
}
}),
vue2SvgPlugin({ svgoConfig: { plugins: ['prefixIds'] } })
vue2SvgPlugin()
]
},
'2.7': () => {
Expand All @@ -52,7 +52,7 @@ export const getVuePlugins = (vueVersion: string) => {
}
}),
vue27JsxPlugin({ injectH: false }),
vue2SvgPlugin({ svgoConfig: { plugins: ['prefixIds'] } })
vue2SvgPlugin()
]
},
'3': () => {
Expand All @@ -68,7 +68,7 @@ export const getVuePlugins = (vueVersion: string) => {
}
}),
vue3JsxPlugin(),
vue3SvgPlugin({ defaultImport: 'component', svgoConfig: { plugins: ['prefixIds'] } })
vue3SvgPlugin()
]
}
}
Expand Down Expand Up @@ -168,7 +168,7 @@ export const getBaseConfig = ({ vueVersion, dtsInclude, dts, buildTarget, isRunt

// 为主入口包添加readme和LICENSE
if (filePath === 'vue') {
;['README.md', 'README.zh-CN.md', 'LICENSE'].forEach((item) => {
['README.md', 'README.zh-CN.md', 'LICENSE'].forEach((item) => {
fs.copySync(
pathFromWorkspaceRoot(item),
path.resolve(pathFromPackages(''), `dist${vueVersion}/@opentiny/vue/${item}`)
Expand Down

0 comments on commit d7a6a21

Please sign in to comment.