adobe / adobe/aem-angular-editable-components

LazyMapTo with URL's chunk like parameter

Open
#64 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
18
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Hello:
We are using a domain name for the adobe author instance (i.e. dom1), and we have another domain for the publish instance and angular application (call dom2).
We're using the lazymapto function, to load our components in runtime, just when it needed. The domain dom2, publish and angular application, works fine.
But the author instance in the editor mode, when it try to get the chunks for the application, raise an 404 error from the navigator, because the chunks files dont exists in the author instance (dom1), the chunks files exists in dom2. So the components don't are visibles in the editor mode.

We would like a new version for lazyMapTo function that considers a new URL parameter. This parameter will indicate the origin from AEM must to load the chunk component. This solution will help too for manage multiple environments (i.e dev,stage,prod)

We have used the urlDeploy parameter for the build instruction in package.json.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.