Making React-wrapped stencil components available as an npm package #751
Unanswered
LanceStasinski
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to make a React-wrapped stencil components library available as an npm package that can be consumed by a project outside of my ui components monorepo. I've followed this video as a guide, and the
nxext/stencil:add-outputtarget
generator seems great if I want to use those wrapped components in the same monorepo, but the react-wrapped components have a dependency on theloader
from the stencil components. That dependency connection does not show up when I runnpx nx graph
, and it is not maintained when trying to build react-wrapped components. Do you have any suggestions for using thenxext/stencil:add-outputtarget
generator to create an npm package instead of components meant to be used within the monorepo?Beta Was this translation helpful? Give feedback.
All reactions