web:rollup executor doesn't produce declarations with compiler set to swc
See original GitHub issueCurrent Behavior
When running nx build
for my buildable library I don’t get d.ts
files in the output directory.
Expected Behavior
d.ts
files should be generated.
Steps to Reproduce
- Generate a buildable library with
--compiler swc
- Build it
Environment
Node : 16.10.0
OS : darwin arm64
yarn : 1.22.17
nx : 13.8.3
@nrwl/angular : undefined
@nrwl/cli : 13.8.3
@nrwl/cypress : 13.8.3
@nrwl/detox : undefined
@nrwl/devkit : 13.8.3
@nrwl/eslint-plugin-nx : 13.8.3
@nrwl/express : undefined
@nrwl/jest : 13.8.3
@nrwl/js : 13.8.3
@nrwl/linter : 13.8.3
@nrwl/nest : undefined
@nrwl/next : undefined
@nrwl/node : undefined
@nrwl/nx-cloud : undefined
@nrwl/react : 13.8.3
@nrwl/react-native : undefined
@nrwl/schematics : undefined
@nrwl/storybook : 13.8.3
@nrwl/tao : 13.8.3
@nrwl/web : 13.8.3
@nrwl/workspace : 13.8.3
typescript : 4.4.4
rxjs : 6.6.7
---------------------------------------
Community plugins:
Issue Analytics
- State:
- Created 2 years ago
- Reactions:14
- Comments:22 (2 by maintainers)
Top Results From Across the Web
How to Probate a Decedent's Estate
The deceased person's survivors may decide to open a probate if there are debts owed or if there is a need to set...
Read more >Guidelines for Individual Executors & Trustees
Grantor - (Also called "settlor" or "trustor") An individual who transfers property to a trustee to hold or own subject to the terms...
Read more >What an Executor Cannot Do | Trust & Will
Distribute funds or property to the heirs. Close the estate. Carrying out all these duties means that you can make a lot of...
Read more >Code of Laws - Title 62 - South Carolina Legislature
An interest in property held in trust is located where the trustee may be sued ... the service does not interfere with the...
Read more >WHAT IS AN EXECUTOR? - New York City Bar Association
The probate estate is defined as all property held in the decedent's name. It does not include jointly held real property (such as...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Still relevant.
I’m having the same issue too. And from what I can see in the
swc
threadhttps://github.com/swc-project/swc/issues/657
It seems like a missing feature so I thought the missed types in NX are expected.
Not a big issue for compiling and bundling apps, but for libs that mean to be published to NPM, this is an essential feature.