mirror of
https://github.com/zoriya/react-native-svg.git
synced 2025-12-06 07:06:11 +00:00
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:
@@ -53,5 +53,10 @@ module.exports = {
|
||||
'.jsx',
|
||||
],
|
||||
},
|
||||
plugins: [new (require('webpack').DefinePlugin)({process: {env: {}}})],
|
||||
plugins: [
|
||||
new (require('webpack').DefinePlugin)({
|
||||
process: {env: {}},
|
||||
__DEV__: 'true',
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user