angus-c / angus-c/just

[just-omit] webpack import error

未關閉
#539 3 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
JavaScript
星號
6.2k
分支
210
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。