Socket
Socket
Sign inDemoInstall

react-app-rewire-inline-import-graphql-ast

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-app-rewire-inline-import-graphql-ast

A plugin to add the inline-import-graphql-ast Babel plugin to create-react-app with react-app-rewired


Version published
Maintainers
1
Created
Source

Donate

react-app-rewire-inline-import-graphql-ast

Add babel-plugin-import-graphql to your create-react-app app via react-app-rewired

Versions

For react-app-rewired@2.x use v2.x of this package. For react-app-rewired@1.x use v1.x of this package.

Installation

npm install --save react-app-rewire-inline-import-graphql-ast
# alternatively if you have yarn installed
yarn add react-app-rewire-inline-import-graphql-ast

Usage

In the config-overrides.js you created for react-app-rewired add this code:

/* config-overrides.js */

const rewireInlineImportGraphqlAst = require('react-app-rewire-inline-import-graphql-ast');

module.exports = function override(config, env) {
  config = rewireInlineImportGraphqlAst(config, env);
  return config;
}

Credits

This repo borrows heavily from react-app-rewire-styled-components by @withspectrum

FAQs

Package last updated on 21 Mar 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc