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

coexisting angular apps with different versions (4 , 5 and 7) #79

Closed
rknash18 opened this issue May 22, 2019 · 2 comments
Closed

coexisting angular apps with different versions (4 , 5 and 7) #79

rknash18 opened this issue May 22, 2019 · 2 comments

Comments

@rknash18
Copy link

rknash18 commented May 22, 2019

I am trying to integrate angular 4 , 5 and 7 applications using single-spa-angular. Please let me know if this library supports applications with different angular versions.

I have generated a main.bundle.js file for angular 4 application and its different from the main.js file generated for angular 7 , please let me know how we can generate a file similar to the main.js using angular 4/5 versions.

Angular 7: main.js
image

Angular 4: main.bundle.js
image

@joeldenning
Copy link
Member

Are you using the schematics that are part of single-spa-angular@beta? In other words, are you doing ng add single-spa-angular@beta?

Note that single-spa-angular@beta has been tested in Angular 5 (i think), 6, and 7, but I'm not sure about Angular 4. So there's a chance that it doesn't yet work with Angular 4. To verify if that's what it is, let's start with the question about whether you're using single-spa-angular@beta, and if so could you push a github repo that reproduces the issue.

The Angular 4 main.bundle.js file appears to be a webpack code split bundle instead of the entry bundle. The reason I say that is that webpackJsonp usually appears only inside of code split bundles instead of the entry bundle.

@joeldenning
Copy link
Member

I am closing this because of inactivity. Feel free to reopen with the answers to my questions above ^

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

No branches or pull requests

2 participants