mirror of
https://github.com/appy-one/acebase-client.git
synced 2026-05-24 22:01:18 -06:00
[PR #37] [MERGED] Dual CommonJS and ESM modules distributions #35
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-client#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/appy-one/acebase-client/pull/37
Author: @appy-one
Created: 11/7/2022
Status: ✅ Merged
Merged: 11/7/2022
Merged by: @appy-one
Base:
master← Head:feature/dual-cjs-esm-dist📝 Commits (5)
4b9a576bump acebase-core to v1.24.05c934fdUse TypedArrayLike instead of ArrayBufferView88a3d8edual cjs and esm exports376de8apackage-lock.jsonecf8153chore: build📊 Changes
9 files changed (+61 additions, -57 deletions)
View changed files
📝
dist/browser.js(+41 -37)📝
dist/browser.min.js(+1 -1)📝
dist/cjs/api-web.js.map(+1 -1)📝
dist/esm/api-web.js.map(+1 -1)📝
dist/types/api-web.d.ts(+2 -2)📝
dist/types/api-web.d.ts.map(+1 -1)📝
package-lock.json(+3 -3)📝
package.json(+8 -8)📝
src/api-web.ts(+3 -3)📄 Description
This compiles the typescript sources to both CommonJS and ESM modules.
const { AceBaseClient } = require('acebase-client')exports the CommonJS modulesimport { AceBaseClient } from 'acebase-client'exports the ESM modules🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.