rdkcentral / Lightning-SDK

SDK for Lightning framework
Apache License 2.0
130 stars 69 forks source link

LocalCookies import error when using WebPack #378

Closed frank-weindel closed 1 year ago

frank-weindel commented 1 year ago

A user in one of our internal channels reported the following error when trying to run their Lightning app compiled with Webpack using the recently released SDK 5.3:

index.js:29 Uncaught TypeError: localcookies__WEBPACK_IMPORTED_MODULE_1___default(...) is not a constructor
    at initStorage (index.js:29:1)
    at __WEBPACK_DEFAULT_EXPORT__ (index.js:46:14)

This is preventing them from running their app. Everything worked fine in 5.2.