Following the changes made in #25 (which imo was the correct decision), I wanted to include Chart.js in my project but exclude Editor as I don't use it and it has a dependency on Quill.
To do this, I included all components and excluded Editor. However, this results in still requiring Quill as a dependency and the Editor being loaded. I have also tried excluding several other components e.g. Button and had the same outcome.
I am assuming this is a bug as the documentation says that this should be possible.
Reproduction
Set defineNuxtConfig in any new Nuxt 3 project to:
Summary
Following the changes made in #25 (which imo was the correct decision), I wanted to include Chart.js in my project but exclude Editor as I don't use it and it has a dependency on Quill.
To do this, I included all components and excluded Editor. However, this results in still requiring Quill as a dependency and the Editor being loaded. I have also tried excluding several other components e.g. Button and had the same outcome.
I am assuming this is a bug as the documentation says that this should be possible.
Reproduction
Set defineNuxtConfig in any new Nuxt 3 project to:
then run:
The project should fail to build due to missing dependency Quill.
Solution
I have forked the repo and created a pull request with a potential fix.