An open API service indexing awesome lists of open source software.

https://github.com/useflyyer/flyyer-parcel-commonjs

Workaround to support Parcel 2 with TypeScript in CommonJS targets
https://github.com/useflyyer/flyyer-parcel-commonjs

Last synced: about 1 year ago
JSON representation

Workaround to support Parcel 2 with TypeScript in CommonJS targets

Awesome Lists containing this project

README

          

# @flyyer/parcel-commonjs

TypeScript wrapper around Parcel 2 to prevent TypeScript compiler from transforming `await import()` to CommonJS imports in host project.

This is a workaround to support `.mjs` imports in TS projects targeting CommonJS.

```sh
yarn add @flyyer/parcel-commonjs
```

This project uses the latest `RC` (Release Candidate) version until 2.0.0 is finally released.