From 3cc993524cddbe05237ad8abdcce848aac536b00 Mon Sep 17 00:00:00 2001 From: Esteban Las Date: Sat, 15 Aug 2020 17:40:54 +0200 Subject: [PATCH] add babel-plugin-macros support for dependencies --- packages/babel-preset-react-app/dependencies.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/babel-preset-react-app/dependencies.js b/packages/babel-preset-react-app/dependencies.js index acbd65aea15..f9ca11de8e4 100644 --- a/packages/babel-preset-react-app/dependencies.js +++ b/packages/babel-preset-react-app/dependencies.js @@ -93,6 +93,7 @@ module.exports = function (api, opts) { ], ].filter(Boolean), plugins: [ + require('babel-plugin-macros'), // Disabled as it's handled automatically by preset-env, and `selectiveLoose` isn't // yet merged into babel: https://github.com/babel/babel/pull/9486 // Related: https://github.com/facebook/create-react-app/pull/8215