Skip to content

LazyMapTo with URL's chunk like parameter #64

Description

@pescobar77

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions