We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
extTransformsPlugin
1 parent 1d3cbd6 commit efc58a7Copy full SHA for efc58a7
src/compiler/bundle/ext-transforms-plugin.ts
@@ -35,7 +35,7 @@ export const extTransformsPlugin = (
35
36
if (data.tag) {
37
cmp = buildCtx.components.find((c) => c.tagName === data.tag);
38
- const moduleFile = cmp && compilerCtx.moduleMap.get(cmp.sourceFilePath);
+ const moduleFile = cmp && !cmp.isCollectionDependency && compilerCtx.moduleMap.get(cmp.sourceFilePath);
39
40
if (moduleFile) {
41
const collectionDirs = config.outputTargets.filter(isOutputTargetDistCollection);
0 commit comments