Hi, I’m a newbie moving from Ionic to NS.
So far I’ve been doing well with transferring my Angular2 logic into NS ecosystem.
However now I’m stuck with Webpack. I’ve installed webpack and all dependencies and the next step in the docs is to register pages as dynamic modules with webpack:
global.registerModule(“main-page”, () => require("./main-page"));
But it doesn’t say where to add the line.
Latar the docs say that for non-ng versions you should create bundle-config.js|ts file in app folder. But my version is ng, so I understand creating the file manually is not my case…
ps. When I skipped the above, webpack finished fine but after deploying to device, the smartphon showed me a trillion-line error rooting from missing module metadata (if I remember correctly)