We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 913689f commit 56d72aeCopy full SHA for 56d72ae
packages/babel-preset-react-app/index.js
@@ -9,6 +9,8 @@
9
'use strict';
10
11
const plugins = [
12
+ // Support for Relay modern.
13
+ require.resolve('babel-plugin-relay'),
14
// class { handleClick = () => { } }
15
require.resolve('babel-plugin-transform-class-properties'),
16
// The following two plugins use Object.assign directly, instead of Babel's
packages/babel-preset-react-app/package.json
@@ -12,6 +12,7 @@
],
"dependencies": {
"babel-plugin-dynamic-import-node": "1.0.2",
+ "babel-plugin-relay": "1.0.1",
"babel-plugin-syntax-dynamic-import": "6.18.0",
17
"babel-plugin-transform-class-properties": "6.24.1",
18
"babel-plugin-transform-object-rest-spread": "6.23.0",
0 commit comments