question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

web:rollup executor doesn't produce declarations with compiler set to swc

See original GitHub issue

Current 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

  1. Generate a buildable library with --compiler swc
  2. 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:open
  • Created 2 years ago
  • Reactions:14
  • Comments:22 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
nezdemkovskicommented, Oct 26, 2022

Still relevant.

2reactions
owen26commented, Mar 15, 2022

I’m having the same issue too. And from what I can see in the swc thread

https://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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found