Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Provide a way to specify externals in the server build #1213

Closed
vikerman opened this issue Jul 30, 2019 · 2 comments
Closed

Provide a way to specify externals in the server build #1213

vikerman opened this issue Jul 30, 2019 · 2 comments

Comments

@vikerman
Copy link
Contributor

Currently we set --bundleDependencies all in the default schematics.

This is causing issues in certain libraries that don't bundle well. See #1207, #1195

The workaround is to go back to --bundleDependencies to 'none' and ship all of node_modules.

But it might be worthwhile to explore whether we can expose some mechanism to add certain imports as 'external' in the server builder config so that only those node_modules can be selectively shipped (Though that is up to the user to do that correctly)

@alan-agius4
Copy link
Collaborator

Address via angular/angular-cli#16359

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Feb 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants