react-native-platform-touchable icon indicating copy to clipboard operation
react-native-platform-touchable copied to clipboard

react-native-web support [Potential PR]

Open Kida007 opened this issue 4 years ago • 0 comments

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"

Kida007 avatar Mar 28 '20 22:03 Kida007