Skip to content

Option to not output inline bundle #8601

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

Closed
emilio-martinez opened this issue Nov 22, 2017 · 3 comments
Closed

Option to not output inline bundle #8601

emilio-martinez opened this issue Nov 22, 2017 · 3 comments
Labels
area: @angular-devkit/build-angular feature Issue that requests a new feature
Milestone

Comments

@emilio-martinez
Copy link
Contributor

Versions

Angular CLI: 1.5.0
Node: 6.11.1
OS: darwin x64
Angular: 5.0.0
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.5.0
@angular-devkit/build-optimizer: 0.0.33
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.36
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0
@schematics/angular: 0.1.5
typescript: 2.5.3
webpack: 3.8.1

Observed behavior

Build process outputs an inline.bundle.js. This is great for people who want it. However, upon inspection, if somebody didn't want to have this content inlined, it would be great to have this included in one of the other bundles.

Desired behavior

Adding a CLI flag that determines whether inline should be separate or included in one of the other bundles. Personally, I don't think it should be authorable which bundle it should be included into, i.e., I think this should be a boolean flag and the CLI team should determine which bundle is most appropriate.

@filipesilva filipesilva self-assigned this Nov 23, 2017
@filipesilva filipesilva added P5 The team acknowledges the request but does not plan to address it, it remains open for discussion feature Issue that requests a new feature command: build labels Nov 23, 2017
@aciccarello
Copy link
Contributor

This is related to #2307 which discusses either inlining the bundle or including it in the main bundle

@filipesilva filipesilva removed the P5 The team acknowledges the request but does not plan to address it, it remains open for discussion label Feb 1, 2018
@ngbot ngbot bot added this to the Backlog milestone Jan 24, 2019
@alan-agius4
Copy link
Collaborator

Duplicate of #2307

@alan-agius4 alan-agius4 marked this as a duplicate of #2307 May 26, 2020
@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 Jun 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: @angular-devkit/build-angular feature Issue that requests a new feature
Projects
None yet
Development

No branches or pull requests

4 participants