Skip to content

Commit

Permalink
fix(varlet-ui): side effects use full path (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Jan 12, 2023
1 parent 05196ec commit 74c1118
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/resolvers/varlet-ui.ts
Expand Up @@ -61,7 +61,7 @@ export function getResolved(name: string, options: VarletUIResolverOptions): Com
if (importStyle === 'less' || importLess)
sideEffects.push(`${path}/es/${kebabCase(name)}/style/less.js`)
else
sideEffects.push(`${path}/es/${kebabCase(name)}/style`)
sideEffects.push(`${path}/es/${kebabCase(name)}/style/index.js`)
}

return {
Expand Down

0 comments on commit 74c1118

Please sign in to comment.