appy-one / acebase-client

Client to connect to remote AceBase NoSQL database server
MIT License
21 stars 8 forks source link

Dual CommonJS and ESM modules distributions #37

Closed appy-one closed 1 year ago

appy-one commented 1 year ago

This compiles the typescript sources to both CommonJS and ESM modules.

const { AceBaseClient } = require('acebase-client') exports the CommonJS modules import { AceBaseClient } from 'acebase-client' exports the ESM modules