Replies: 3 comments 2 replies
-
Wouldn't setting the value to false fix that? It looks like it should only replace it when the value is undefined |
Beta Was this translation helpful? Give feedback.
2 replies
-
Submitted an issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
IMO, CRA is meant for creating SPA, not a library. You may want to explore tsdx which is more customizable and easy to use for creating/maintaining library. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I maintain a react component library, written in TypeScript. Our components use sass, and consequently we build the library using
babel
rather thantsc
, and just usetsc
for generating type declarations withemitDeclarationOnly: true
.We do want to continue using CRA, however every time we touch
react-scripts
it addsnoEmit: true
to our.tsconfig
which is incompatible withemitDeclarationOnly
. This is very frustrating. Is there a workaround, or has this case been considered by the maintainers?Thanks
Beta Was this translation helpful? Give feedback.
All reactions