This repository was archived by the owner on Sep 2, 2023. It is now read-only.
This repository was archived by the owner on Sep 2, 2023. It is now read-only.
Feature: Dual-goal packages #93
Closed
Description
- I want to publish a package that can be imported as native ESM or required as CommonJS.
- I don’t want to need to transpile or have a build step in order to create such a package.
- I want to be able to use either ESM or CommonJS within my package.
- I want to be able to gradually convert my package from CommonJS to ESM.
Use cases 2, 10, 39, 41.