crabbly / crabbly/Print.js

TypeError: print_js_1.default is not a function

Open
#304 14 comments 2 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
4.5k
Forks
688
PR merge metrics
No merged PRs in 30d

Description

When used with webpack and typescript getting the error mentioned on title. Transpiled code appears to be like this:

```javascript
...
print_js_1.default({
printable: url,
type: "pdf",
...
```

And it works fine when bundled without `libraryExport: 'default'` config.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.