Skip to content

Commit

Permalink
Prevent extTransformsPlugin from outputting collection dependency css
Browse files Browse the repository at this point in the history
  • Loading branch information
George-Payne committed Mar 28, 2022
1 parent 1d3cbd6 commit 186d265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/bundle/ext-transforms-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const extTransformsPlugin = (

if (data.tag) {
cmp = buildCtx.components.find((c) => c.tagName === data.tag);
const moduleFile = cmp && compilerCtx.moduleMap.get(cmp.sourceFilePath);
const moduleFile = cmp && !cmp.isCollectionDependency && compilerCtx.moduleMap.get(cmp.sourceFilePath);

if (moduleFile) {
const collectionDirs = config.outputTargets.filter(isOutputTargetDistCollection);
Expand Down

0 comments on commit 186d265

Please sign in to comment.