Socket
Socket
Sign inDemoInstall

webpack-rxjs-externals

Package Overview
Dependencies
77
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    webpack-rxjs-externals

Generate webpack externals for RxJS v6. NOT compatible with v5 paths.


Version published
Weekly downloads
2.2K
decreased by-28.22%
Maintainers
2
Install size
3.13 kB
Created
Weekly downloads
 

Readme

Source

webpack-rxjs-externals

Utility to generate all the "externals" for your webpack config.

Since RxJS is ever-changing, this removes the need to maintain a list, instead generating it on the fly.

Latest version only works with v6+ import paths, NOT the older v5 deep paths. Use v1.1.0 version for rxjs v5 Requires webpack v2

webpack.config.js
import webpackRxjsExternals from 'webpack-rxjs-externals';

export default {
  externals: [
    webpackRxjsExternals(),
    // other externals here
  ]
};
Example of v6 imports this supports
import { of } from 'rxjs';
import { map } from 'rxjs/operators';

of(1, 2, 3).pipe(
  map(d => d * 10)
);

Remember, this version does NOT support the older deep imports rxjs/operator/map etc.

FAQs

Last updated on 04 Apr 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc