-
Notifications
You must be signed in to change notification settings - Fork 792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: nodeResolve.customResolveOptions is a deprecated option in a Stencil Configuration file #6058
Comments
@johnc-ftl thanks for raising this issue. This field is used to configure
Can you please elaborate on your use case and provide maybe a minimal example for this? |
Hi @christian-bromann - thank you for the explanation. I appreciate you all having the deprecation warning vs stopping working :) Our use case is that we have some internal libraries, that we build first, and that our stencil project depends on. Those libraries write their build output to:
whereas all the normal/external NPM dependencies are written to:
The Stencil project has external and internal dependencies, thus the config above. Are you aware of another way to configure dependency resolution to resolve from both directories? I'm happy to switch to another approach that works. |
I am not sure what you mean when you say:
I assume you have a monorepo structure and compile the output into that directory. If that is the case I recommend to use a package manager like pnpm that allows you to seamlessly link your mono repo package and have it just work. Is my consumption correct or is it a different scenario? |
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Stencil, please create a new issue and ensure the template is fully filled out. Thank you for using Stencil! |
Prerequisites
Stencil Version
4.22.3
Current Behavior
Using stencil config like:
To use a local build output node_modules in addition to normal node_modules.
This works as expected, but I receive the following warning with each build:
Expected Behavior
No warning.
System Info
Steps to Reproduce
Create a stencil library with similar config to what I provided above.
Code Reproduction URL
https://github.com/johncrim/stencil
Additional Information
(This isn't a repro URL - I don't think one is required, the issue is straightforward)
The text was updated successfully, but these errors were encountered: