-
-
Notifications
You must be signed in to change notification settings - Fork 834
bug: extTransformsPlugin is outputting collections css files #3305
Copy link
Copy link
Open
Endava/BEEQ
#1484Labels
Resolution: RefineThis PR is marked for Jira refinement. We're not working on it - we're talking it through.This PR is marked for Jira refinement. We're not working on it - we're talking it through.
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
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
yarnyarn 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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Resolution: RefineThis PR is marked for Jira refinement. We're not working on it - we're talking it through.This PR is marked for Jira refinement. We're not working on it - we're talking it through.
