Skip to content
This repository has been archived by the owner on May 15, 2020. It is now read-only.

react-native-web support [Potential PR] #15

Open
Kida007 opened this issue Mar 28, 2020 · 0 comments
Open

react-native-web support [Potential PR] #15

Kida007 opened this issue Mar 28, 2020 · 0 comments

Comments

@Kida007
Copy link

Kida007 commented Mar 28, 2020

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"
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant