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

Webpack errors after upgrading to 2.0.0 #74

Open
SnakeSVx opened this issue Jun 27, 2024 · 0 comments
Open

Webpack errors after upgrading to 2.0.0 #74

SnakeSVx opened this issue Jun 27, 2024 · 0 comments

Comments

@SnakeSVx
Copy link

Environment: Angular 18, Typescript 5.4.5, Webpack 5.91.0

Secure-ls version: 2.0.0

Possible regression bug.

Runtime error:

ERROR TypeError: secure_ls__WEBPACK_IMPORTED_MODULE_0__ is not a constructor

Code storage-service.ts

import SecureLS from 'secure-ls';

export class StorageService {
   private ls = new SecureLS({encodingType: 'aes'});
   ...
}
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

No branches or pull requests

1 participant