Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix importing problem #111

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

marcesengel
Copy link

See #101 for the error and a description of why it occurs. Basicly TS expects the module to have a default export when compiling down from ES6 to CommonJS. add-module-exports does not set it by default, causing the error. This patch will just add the needed export.

@eivindfjeldstad

See eivindfjeldstad#101 for the error and a description of why it occurs. Basicly TS expects the module to have a `default` export when compiling down from ES6 to CommonJS. `add-module-exports` does not set it by default, causing the error. This patch will just add the needed export.

@eivindfjeldstad
@codecov
Copy link

codecov bot commented Mar 16, 2020

Codecov Report

Merging #111 into master will decrease coverage by 0.4%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #111      +/-   ##
==========================================
- Coverage   98.79%   98.38%   -0.41%     
==========================================
  Files           6        6              
  Lines         248      248              
==========================================
- Hits          245      244       -1     
- Misses          3        4       +1
Impacted Files Coverage Δ
src/messages.js 86.2% <0%> (-3.45%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ed3f1ba...b66a58b. Read the comment docs.

Switched from `prepublish` to `prepare` in order to make installs directly from git possible.
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