@ilhan007 can you please update this example project for SAP UI5 WC 1.0.0-rc.11 (latest)?
I found the README.md inconsistent with what the actual rollup.config.js is. Also, the bundle.esm.js does not appear to work with SAP UI5 WC 1.0.0-rc.11 and is very different from the extract in README.md shows. Can you add comments inside bundle.esm.js , please. Also, there is no main.esm.js? Also, the package.json dependencies do not appear to be enough?
For example, if I follow the instruction precisely to build up biundle sapui5wc.esm.js and then try:
import {
ShellBar, SideNavigation, SideNavigationItem, SideNavigationSubItem
}
from '../lib/sapui5wc.esm.js';
I get:
127.0.0.1/:1 Uncaught TypeError: Failed to resolve module specifier "@ui5/webcomponents/dist/json-imports/i18n.js". Relative references must start with either "/", "./", or "../".
@ilhan007 can you please update this example project for SAP UI5 WC 1.0.0-rc.11 (latest)? I found the
README.md
inconsistent with what the actualrollup.config.js
is. Also, thebundle.esm.js
does not appear to work with SAP UI5 WC 1.0.0-rc.11 and is very different from the extract in README.md shows. Can you add comments insidebundle.esm.js
, please. Also, there is nomain.esm.js
? Also, thepackage.json
dependencies do not appear to be enough?For example, if I follow the instruction precisely to build up biundle
sapui5wc.esm.js
and then try:I get: