cli6rc6 vendor.js duplicate some rxjs functions
See original GitHub issueVersions
Angular CLI: 6.0.0-rc.6
Node: 10.0.0
OS: win32 x64
Angular: 6.0.0-rc.5
... common, compiler, compiler-cli, core, forms, http
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.5.8
@angular-devkit/build-angular 0.5.9
@angular-devkit/build-optimizer 0.5.9
@angular-devkit/core 0.5.8
@angular-devkit/schematics 0.5.8
@angular/cli 6.0.0-rc.6
@ngtools/json-schema 1.1.0
@ngtools/webpack 6.0.0-rc.7
@schematics/angular 0.5.8
@schematics/update 0.5.8
rxjs 6.0.0
typescript 2.7.2
webpack 4.6.0
Repro steps
build with :
"optimization": true,
"outputHashing": "none",
"sourceMap": true,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": true,
"buildOptimizer": true
Run source-map-explorer ./dist/de/vendor.js
Observed behavior
Desired behavior
Don’t duplicate rxjs stuffs in vendor.js
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
distinct - RxJS
If the keySelector function is not provided, it will use each value from the source observable directly with an equality check against previous...
Read more >Angular/RxJS 6: How to prevent duplicate HTTP requests?
After trying a few different methods, I came across this one that resolves my issue and only makes one HTTP request no matter...
Read more >The RxJS library - Angular
RxJS (Reactive Extensions for JavaScript) is a library for reactive programming using observables that makes it easier to compose asynchronous or ...
Read more >3 Common Rxjs Pitfalls (and how to avoid them)
In this post, we will go over some common trouble situations, explain why the ... We can think of it as something close...
Read more >5 helpful RxJS solutions. to everyday problems - Medium
RxJS is a javascript library that allows us to code reactively using observable streams. With observables and functions provided by RxJS we ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You might have different versions of rxjs used by libraries. If that’s the case, then the correct behavior is to have duplicates.
For instance, if your app depends on rxjs 6 and a library depends on rxjs 5, then your bundle should have both because they are different.
You can check this using
npm list rxjs
.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.