This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.
[Bug]: Error while importing the web version in webpack #2255
Open
Description
Issue description
After updating to the latest version 1.1.3 and following the examples. Webpack reports error while importing the wasm library.
OutputDiscriminator seems to be undefined. At least it is that, what webpack reports back as error.
Returning to version 1.1.2 fixes the Problem.
Version
@iota/sdk-wasm : 1.1.3
Expected behaviour
Import should work without errors
Actual behaviour
Webpack errors on the import.
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue
- Follow the example, with webpack
- Import the lib
- See the crash in the browser.
Errors
Log:
Uncaught TypeError: _output__WEBPACK_IMPORTED_MODULE_2__ is undefined
OutputDiscriminator index.js:21
OutputResponse output-response.ts:20
<anonymous> output-response.ts:23
node_modules chunk-vendors.js:867
Duplicate declaration
- I have searched the issues tracker this issue and there is none
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Product Backlog