denoland / denoland/dnt

Way to put `import type` only dependencies into `devDependencies`?

Open
#186 2 comments 1 reaction 0 assignees View on GitHub
suggestion
Dominant language
Rust
Stars
1.3k
Forks
49
PR merge metrics
No merged PRs in 30d

Description

There’re several modules in my `import_map.json` from where I import some types like:

```
import type { Foo } from "bar"
```

I wonder if there is a way to put such modules in the `devDependencies` section of the generated `package.json`. It doesn’t need to be done automatically, manual configuration is fine.

Thanks.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.