10000 refactor(varlet-ui): omit the suffix (#583) · unplugin/unplugin-vue-components@0c404f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0c404f5

Browse files
authored
refactor(varlet-ui): omit the suffix (#583)
1 parent 74c1118 commit 0c404f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/resolvers/varlet-ui.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ export function getResolved(name: string, options: VarletUIResolverOptions): Com
5959

6060
if (importStyle || importCss) {
6161
if (importStyle === 'less' || importLess)
62-
sideEffects.push(`${path}/es/${kebabCase(name)}/style/less.js`)
62+
sideEffects.push(`${path}/es/${kebabCase(name)}/style/less`)
6363
else
64-
sideEffects.push(`${path}/es/${kebabCase(name)}/style/index.js`)
64+
sideEffects.push(`${path}/es/${kebabCase(name)}/style/index`)
6565
}
6666

6767
return {

0 commit comments

Comments
 (0)
0