Prerequisites
Stencil Version
v2.14.2 😃
Current Behavior
When building a dist output with a collection dependency, the dependencies css files will be outputted as part of the collection output, however, they appear further up the file tree due to their relative file paths. These css files aren't needed needed for the collection.

Expected Behavior
The css files aren't outputted.
Steps to Reproduce
Clone https://github.com/George-Payne/extTransformsPlugin-bug-reproduction
yarn is being used for workspaces, npm wont work
yarn
yarn build
Observe:
collectionconsumer
├── dist
│ ├── cjs
│ ├── collection
│ ├── collectionconsumer
│ ├── esm
│ ├── index.cjs.js
│ ├── index.js
│ ├── loader
│ └── types
├── externalcollection <------------- This folder should not be outputted
│ └── dist
│ └── collection
│ └── components
│ └── ext-component
│ └── ext-component.css
├── node_modules
├── package.json
├── src
├── stencil.config.ts
└── tsconfig.json
Code Reproduction URL
https://github.com/George-Payne/extTransformsPlugin-bug-reproduction
Additional Information
No response
Prerequisites
Stencil Version
v2.14.2 😃
Current Behavior
When building a
distoutput with a collection dependency, the dependencies css files will be outputted as part of the collection output, however, they appear further up the file tree due to their relative file paths. These css files aren't needed needed for the collection.Expected Behavior
The css files aren't outputted.
Steps to Reproduce
Clone https://github.com/George-Payne/extTransformsPlugin-bug-reproduction
yarn is being used for workspaces, npm wont work
yarnyarn buildObserve:
Code Reproduction URL
https://github.com/George-Payne/extTransformsPlugin-bug-reproduction
Additional Information
No response