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
- Host: GitHub
- URL: https://github.com/useflyyer/flyyer-parcel-commonjs
- Owner: useflyyer
- License: mit
- Created: 2021-09-11T21:19:57.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-07T11:04:40.000Z (over 3 years ago)
- Last Synced: 2025-02-13T22:51:18.441Z (about 1 year ago)
- Language: JavaScript
- Size: 828 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.