Skip to content
New issue

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

Not compatible with react-native-web #38

Open
jlpujante opened this issue Jan 13, 2022 · 0 comments
Open

Not compatible with react-native-web #38

jlpujante opened this issue Jan 13, 2022 · 0 comments

Comments

@jlpujante
Copy link

jlpujante commented Jan 13, 2022

The lib is not compatible to be used in a monorepo with react-native-web. Here is the error:

ERROR in ./node_modules/react-native-scalable-image/index.js 43:12
Module parse failed: Unexpected token (43:12)
File was processed with these loaders:

  • ./node_modules/source-map-loader/dist/cjs.js
    You may need an additional loader to handle the result of these loaders.
    | useEffect(() => {
    | setImage(
    |> <ImageComponent
    | {...props}
    | style={[props.style, {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant