We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
extTransformsPlugin
1 parent 6ff8075 commit 28e2a06Copy full SHA for 28e2a06
1 file changed
src/compiler/bundle/ext-transforms-plugin.ts
@@ -93,7 +93,7 @@ export const extTransformsPlugin = (
93
94
if (data.tag) {
95
cmp = buildCtx.components.find((c) => c.tagName === data.tag);
96
- const moduleFile = cmp && compilerCtx.moduleMap.get(cmp.sourceFilePath);
+ const moduleFile = cmp && !cmp.isCollectionDependency && compilerCtx.moduleMap.get(cmp.sourceFilePath);
97
98
if (moduleFile) {
99
const collectionDirs = config.outputTargets.filter(isOutputTargetDistCollection);
0 commit comments