General aspects
If you haven't yet checked out my last post it's high time to do so as we will need it for this article.
Getting that ...
For further actions, you may consider blocking this person and/or reporting abuse
Thank you for this post, it saved me a lot of time!
You are welcome! I am glad i could help someone.
Whenever I have time I'll continue this series demonstrating how to
That would be awesome. Also, a nice thing we have done here at my team is also bundling a css for a library, so we can also publish it to a cdn on the same build pipeline.
By the way, we went back to use rollup, I though the configuration overall it's simpler.
How did you get d.ts files into your build folder with rollup? I had to make another command that calls tsc "manually" (i.e. not with @nrwl/js:tsc) after the rollup. Did you find a better way?
D.ts files should be created automatically. Please check your ts-vonfig files to have them emitted. That should be done using the
"declaration":trueflagI have declarations on, and they are being generated when I call
tscwith the same tsconfig. We are talking about the@nrwl/web:rollupexecutor, right?Maybe this is only an issue when using
swc, but I'm pretty sure it didn't work for me with babel either.