Giter Site home page Giter Site logo

Return inside if block about dev-ip HOT 4 OPEN

shakyshane avatar shakyshane commented on June 27, 2024 3
Return inside if block

from dev-ip.

Comments (4)

mlagace avatar mlagace commented on June 27, 2024 3

Still you shouldn't put a return if it's not in a function. Why not put an if () {} else {} instead?

from dev-ip.

shakyShane avatar shakyShane commented on June 27, 2024 2

Why are compiling 3rd party code? You should be setting babel to ignore this surely?

from dev-ip.

damiangreen avatar damiangreen commented on June 27, 2024

@OttlikG what did you do in the end? for k this library or find a way of ignoring it?

from dev-ip.

cowwoc avatar cowwoc commented on June 27, 2024

If you're using Yarn 2+ you can fix the problem by doing the following:

  1. Add "dev-ip@^1.0.1": "patch:dev-ip@npm%3A1.0.1#./.yarn/patches/dev-ip-npm-1.0.1-6bbb9d1d09.patch" to the resolutions section of package.json
  2. Add dev-ip-npm-1.0.1-6bbb9d1d09.patch to ./yarn/patches
  3. Run yarn to update yarn.lock

Your build should now work.

from dev-ip.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.