surrealdb / surrealdb.js

SurrealDB SDK for JavaScript
https://surrealdb.com
Apache License 2.0
271 stars 46 forks source link

Fix CommonJS target #300

Closed kearfy closed 5 days ago

kearfy commented 5 days ago

Thank you for submitting this pull request! We appreciate you spending the time to work on these changes.

What is the motivation?

Because the cjs output did not have a cjs extension, it could not be required as such.

What does this change do?

It changes all outputted bundled to have either a cjs or mjs extension

What is your testing strategy?

GitHub CI

Is this related to any issues?

No.

Have you read the Contributing Guidelines?