react-native-platform-touchable
react-native-platform-touchable copied to clipboard
react-native-web support [Potential PR]
Feature Request
support for react-native-web out of the box.
Although It can be made working in react-native-web projects just by transpiling . something like :
rules: [
{
test: /\.(js|jsx)$/,
exclude: /node_modules\/(?!react-native-platform-touchable|epic-components).+/,
include: [
path.resolve(__dirname, "./src"),
path.resolve(modulePath, "react-native-platform-touchable"),
path.resolve(modulePath, "epic-components")
],
.......
but it would be nice if we have this pre-transformed on publish via bob/webpack . I am happy to make a PR .
Code sample
"prepare": "bob build"