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 |
2 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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
I maintain a react component library, written in TypeScript. Our components use sass, and consequently we build the library using
babelrather thantsc, and just usetscfor generating type declarations withemitDeclarationOnly: true.We do want to continue using CRA, however every time we touch
react-scriptsit addsnoEmit: trueto our.tsconfigwhich is incompatible withemitDeclarationOnly. This is very frustrating. Is there a workaround, or has this case been considered by the maintainers?Thanks
All reactions