Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/teppeis/dual-package-cjs-proxy

Sample project for dual package with CJS proxy
https://github.com/teppeis/dual-package-cjs-proxy

Last synced: 29 days ago
JSON representation

Sample project for dual package with CJS proxy

Awesome Lists containing this project

README

        

# Sample project for dual package with CJS proxy

- Asynchronous functions: Export native ESM implementation via CJS proxy
- Synchronous functions or values: Export as a single bundled file with esbuild

### Usage

```console
$ npm i @teppeis/dual-package-cjs-proxy-sample
```

## Lisense

MIT © Teppei Sato

This is based on [Vite](https://github.com/vitejs/vite) that is licensed under the MIT license.