angus-c / angus-c/just

[just-omit] webpack import error

Open
#539 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6.2k
Forks
209
PR merge metrics
No merged PRs in 30d

Description

When trying to import packages I see an `Uncaught TypeError: just_omit__WEBPACK_IMPORTED_MODULE_0___default(...) is not a function` error when doing `import omit from 'just-omit'

Using:
`"just-omit": "^2.2.0"`
`"webpack": "4.41.5"`
`"react-scripts": "3.4.0"`

Not sure what's causing the import not to work on this version of webpack, I believe it doesn't support ES6 but as far as I can tell this package doesn't need ES6 it should be fine on ES5

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.