Skip to content

Conversation

@volkmarnissen
Copy link

Changed package.json to have different directories for ejs and mjs.
Replaced rollup ... by two tsc calls.
Introduced different tsconfig.json files for ejs and mjs

Tested both cjs and mjs references in another project manually.

Closes #52

changed package.json to have different directories for ejs and mjs
Replaced rollup ... by two tsc calls
@volkmarnissen
Copy link
Author

This fixes the same issue as proposed in pull request #58
So, either #58 or this PR should be merged.
Otherwise, you can't use serialport in a typescript project which produces ESM javascripts, bause all dependant component will be checked during typescript build (tsc).

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Could not find a declaration file for module '@serialport/bindings-interface'.

2 participants