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

external-dashboard-tile no longer working after upgrade to ng7 #4

Open
YodaNinja opened this issue Jan 22, 2019 · 2 comments
Open

external-dashboard-tile no longer working after upgrade to ng7 #4

YodaNinja opened this issue Jan 22, 2019 · 2 comments

Comments

@YodaNinja
Copy link

After upgrade to ng7 the external-dashboard-tile, no longer is visible when added.
Do you have an idea what the issue is?
I'd like to use the latest version of ngx-build-plus, and need the use case of loading the custom element in the same way the external-dashboard-tile is loaded in this example.

@YodaNinja
Copy link
Author

Hmm.. I updated the ngx-build-plus version, and had added --extra-webpack-config to exclude angular packages.
I removed the --extra-webpack-config, and it started working again.
I'm guessing excluding packages cannot be used for external-dashboard-tile, which is loaded dynamically in this app.
Unfortunately this creates a larger external-dashboard-tile.js file, which is undesired.

@bobbymthompson
Copy link

You need to update the package.json file to output a single bundle when it builds the external-dashboard-tile

"bundle:ce": "ng build --project external-dashboard-tile --prod --output-hashing none --single-bundle true"

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