Filter ccxt exchanges that you want to include in your Webpack bundle.
This module is used to build Cryptovista, a desktop app to monitor crypto portfolios, news and market in a single place. For Mac and Windows.
This loader is mostly useful if you:
- ship ccxt with a frontend app
- don't need all the exchanges that ccxt supports
- use Webpack
Smaller bundle: lighter, faster code.
How to use
npm install ccxt-exchanges-loader -DE
2. Webpack config
Add the loader to your config:
moduleexports =module:rules://...test: /ccxt\.js$/use:loader: 'ccxt-exchanges-loader'options:exchanges:'binance''coinbase''cryptopia''huobipro''kraken''okex''bittrex'include: /node_modules\/ccxt/