From 41b410023527b3d17106fb5974cf88058f1ce4a8 Mon Sep 17 00:00:00 2001 From: Jeff Stieler Date: Wed, 24 Jul 2019 09:37:37 -0600 Subject: [PATCH] Fix react-spring breaking IE11. --- plugins/woocommerce-admin/webpack.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/woocommerce-admin/webpack.config.js b/plugins/woocommerce-admin/webpack.config.js index 315ef2ea0aa..1c011ea3921 100644 --- a/plugins/woocommerce-admin/webpack.config.js +++ b/plugins/woocommerce-admin/webpack.config.js @@ -148,6 +148,8 @@ const webpackConfig = { ], alias: { 'gutenberg-components': path.resolve( __dirname, 'node_modules/@wordpress/components/src' ), + // @todo - remove once https://github.com/WordPress/gutenberg/pull/16196 is released. + 'react-spring': 'react-spring/web.cjs', }, }, plugins: [