JSPM

react-app-rewire-idx

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q23147F
  • License MIT

Add babel-plugin-idx to create-react-app via react-app-rewired.

Package Exports

  • react-app-rewire-idx

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-app-rewire-idx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-app-rewire-idx

Add babel-plugin-idx to a create-react-app app via react-app-rewired.

Installation

yarn add --dev react-app-rewire-idx

or

npm install --save-dev  react-app-rewire-idx

Usage

1) Using override (react-app-rewired < 1.3.4)

// config-overrides.js
const rewireIdx = require('react-app-rewire-idx');

module.exports = function override(config, env) {
  config = rewireIdx(config, env);
  // other rewires...
  return config;
}

2) Using compose

// config-overrides.js
const { compose } = require('react-app-rewired')
const rewireIdx = require('react-app-rewire-idx');

module.exports = compose(
  rewireIdx,
  // other rewires...
);