issues
search
seangwright
/
typescript-functional-extensions
A TypeScript implementation of the C# library CSharpFunctionalExtensions, including synchronous and asynchronous Maybe and Result monads.
MIT License
33
stars
4
forks
source link
Feature: Add CommonJS support
#5
Closed
seangwright
closed
2 years ago
seangwright
commented
2 years ago
Fixes #3
Separates build into 2 parts, ES Module and CommonJS
Both build outputs are packaged together
See
https://www.sensedeep.com/blog/posts/2021/how-to-create-single-source-npm-module.html
Build tools and bundlers should select the correct set of dependencies based on the module system they are using.
Fixes #3