fleischr / sapui5-metamask-shoppingcart

SAPUI5 Shopping Cart App with Metamask support
0 stars 0 forks source link

NPM package management #14

Open fleischr opened 2 years ago

fleischr commented 2 years ago

UI5 controllers and other objects web3helper.js don't reference packages due to the legacy formats present in SAPUI5

There are some changes in UI5 to reference NPM modules better here: https://blogs.sap.com/2021/11/15/using-npm-packages-in-ui5-without-shims/

There's also this resource here using Shims. https://blogs.sap.com/2020/07/30/project-shims-using-npm-modules-with-ui5/

I tried the approach without Shims to no avail. Updating the package.json and UI5.yaml broke the whole app.

This is needed to round off the inclusion of industry standard web3 modules into SAPUI5. This is related to issue #13