From 7c2c179654862de07a028eceeb1e19a7a8dd8122 Mon Sep 17 00:00:00 2001 From: Wojciech Lewicki Date: Wed, 20 Sep 2023 16:27:25 +0200 Subject: [PATCH] fix: web not working with reanimated in example (#2140) PR fixing web example when using reanimated since __DEV__ is not defined there. --- Example/webpack.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Example/webpack.config.js b/Example/webpack.config.js index 562e0848..22f85cee 100644 --- a/Example/webpack.config.js +++ b/Example/webpack.config.js @@ -53,5 +53,10 @@ module.exports = { '.jsx', ], }, - plugins: [new (require('webpack').DefinePlugin)({process: {env: {}}})], + plugins: [ + new (require('webpack').DefinePlugin)({ + process: {env: {}}, + __DEV__: 'true', + }), + ], };