Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LazyMapTo with URL's chunk like parameter #64

Open
pescobar77 opened this issue Sep 12, 2021 · 1 comment
Open

LazyMapTo with URL's chunk like parameter #64

pescobar77 opened this issue Sep 12, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@pescobar77
Copy link

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.

@habansal habansal added the enhancement New feature or request label Sep 13, 2021
@habansal
Copy link

@pescobar77 Thanks for raising this enhancement request.
Feel free to contribute a PR for the same :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants