We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I know that docs point to this option, but it's not clear how it's used. Could you please provide a sample code? i tryed this in babel.config.js
plugins: ['optional-require'] plugins: [ ['optional-require', {blacklist: ['react-native-vector-icons']}] ] plugins: [ ['optional-require', {whitelist: ['react-native-vector-icons']}] ]
I can't see any difference, when i compile for Android i don't ever need to put that, and when i compile for web i get this
Module not found: Error: Can't resolve 'react-native-vector-icons/MaterialCommunityIcons' in 'C:\Users\javie\projects\alten\projects\CCMA\cat3Info\node_modules\react-native-paper\lib\module\components' @ ./node_modules/react-native-paper/lib/module/core/PaperProvider.js 6:0-72 73:12-33 @ ./node_modules/react-native-paper/lib/module/index.js 4:0-59 4:0-59 5:0-64 5:0-64 @ ./src/App.tsx 1:503-532 @ ./index.web.js 1:240-260
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Ask your Question
I know that docs point to this option, but it's not clear how it's used. Could you please provide a sample code?
i tryed this in babel.config.js
I can't see any difference, when i compile for Android i don't ever need to put that, and when i compile for web i get this
Thanks
The text was updated successfully, but these errors were encountered: