Skip to content

Commit

Permalink
refactor(varlet-ui): omit the suffix (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Jan 12, 2023
1 parent 74c1118 commit 0c404f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/resolvers/varlet-ui.ts
Expand Up @@ -59,9 +59,9 @@ export function getResolved(name: string, options: VarletUIResolverOptions): Com

if (importStyle || importCss) {
if (importStyle === 'less' || importLess)
sideEffects.push(`${path}/es/${kebabCase(name)}/style/less.js`)
sideEffects.push(`${path}/es/${kebabCase(name)}/style/less`)
else
sideEffects.push(`${path}/es/${kebabCase(name)}/style/index.js`)
sideEffects.push(`${path}/es/${kebabCase(name)}/style/index`)
}

return {
Expand Down

0 comments on commit 0c404f5

Please sign in to comment.