# parcel-resolver-fix-ts-esm-shit

> ## TLDR If you have errors because you are including `.js` in the end of your imports when using typescript, install this package by running

Latest version **0.0.1** (published 2022-07-31) · 0 weekly downloads

## Install

```sh
npm install parcel-resolver-fix-ts-esm-shit
pnpm add parcel-resolver-fix-ts-esm-shit
yarn add parcel-resolver-fix-ts-esm-shit
bun add parcel-resolver-fix-ts-esm-shit
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2022-07-31 |
| First published | 2022-07-31 |
| Weekly downloads | 0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | liberquack-user |

## Links

- npm: https://www.npmjs.com/package/parcel-resolver-fix-ts-esm-shit
- npm.io page: https://npm.io/package/parcel-resolver-fix-ts-esm-shit

## Recent versions

- 0.0.1 (latest) — 2022-07-31

## README

# parcel-resolver-fix-ts-esm-shit

## TLDR
If you have errors because you are including `.js` in the end of your imports when using typescript,
install this package by running

```
npm install --save-dev parcel-resolver-fix-ts-esm-shit
```

Then you will need to customize your .parcelrc with

```json
{
  "extends": "@parcel/config-default",
  "resolvers": ["parcel-resolver-fix-ts-esm-shit", "..."]
}
```


## The Problem
Are you using javascript modules and typescript? Yeah, so now you have to put `.js` in the end
of your imports, once it your code needs to be esm complaint.

## The Fix
This package takes your `.js` imports and checks if a `.ts` or `.tsx` exists, 
if true, parcel will use your typescript

---
_Source: https://npm.io/package/parcel-resolver-fix-ts-esm-shit · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
