Skip to content

Made compatible with ES Module packages + small bug fix#25

Open
maxbilbow wants to merge 2 commits intoxjpro:masterfrom
maxbilbow:esm-compatible
Open

Made compatible with ES Module packages + small bug fix#25
maxbilbow wants to merge 2 commits intoxjpro:masterfrom
maxbilbow:esm-compatible

Conversation

@maxbilbow
Copy link

@maxbilbow maxbilbow commented Mar 6, 2023

This PR fixes issue where npm package that specify "type": "module" could not import this tool.

It also adds Typescript as a JavaScript linter, which appears to have exposed a bug in the directive logic.

Additionally, an index.d.ts file has been added to provide Typescript support for consumers.

This PR can be superseded by #26, which is more comprehensive (but more scary, perhaps?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant