fix: web not working with reanimated in example (#2140)

PR fixing web example when using reanimated since __DEV__ is not defined there.
This commit is contained in:
Wojciech Lewicki
2023-09-20 16:27:25 +02:00
committed by GitHub
parent c88ae5889b
commit 7c2c179654

View File

@@ -53,5 +53,10 @@ module.exports = {
'.jsx',
],
},
plugins: [new (require('webpack').DefinePlugin)({process: {env: {}}})],
plugins: [
new (require('webpack').DefinePlugin)({
process: {env: {}},
__DEV__: 'true',
}),
],
};