Skip to content

Commit

Permalink
fix: web not working with reanimated in example (#2140)
Browse files Browse the repository at this point in the history
PR fixing web example when using reanimated since __DEV__ is not defined there.
  • Loading branch information
WoLewicki authored Sep 20, 2023
1 parent c88ae58 commit 7c2c179
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Example/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,10 @@ module.exports = {
'.jsx',
],
},
plugins: [new (require('webpack').DefinePlugin)({process: {env: {}}})],
plugins: [
new (require('webpack').DefinePlugin)({
process: {env: {}},
__DEV__: 'true',
}),
],
};

0 comments on commit 7c2c179

Please sign in to comment.