GithubHelp home page GithubHelp logo

Comments (6)

vutran avatar vutran commented on May 5, 2024

Also am experiencing this issue with one of our legacy software.

from enhanced-resolve.

bebraw avatar bebraw commented on May 5, 2024

@TheLarkInn Node version bump should have probably been a new major version. I'm not sure what to do with the 3.x series (the cat is already out of the bag).

from enhanced-resolve.

vutran avatar vutran commented on May 5, 2024

@bebraw @TheLarkInn I believe the last working version is v3.0.3. Current master should be published as v4 since it has been rewritten since under ES6 and leave v3 for legacy node versions.

from enhanced-resolve.

bebraw avatar bebraw commented on May 5, 2024

@vutran Yeah, fair point. I agree with the major bump.

from enhanced-resolve.

mikesherov avatar mikesherov commented on May 5, 2024

There is really no way to resolve this in enhanced-resolve. As mentioned, the cat is already out of the bag: We can't publish another minor version of 3 that reverts functionality, and publishing a major version of enhanced-resolve won't fix the issue.

The only correct workaround at this point is to have ts-loader pin to ~3.0.0, and only bump to ^3.0.0 when they are ready to do a major bump themselves.

Closing this issue for now, and will open a PR in ts-loader to pin to 3.0.3. If anyone feels this is in error, please reply to this issue, and I'll re-open for further discussion.

from enhanced-resolve.

mikesherov avatar mikesherov commented on May 5, 2024

Hmmm, this can't be fixed in ts-loader either, as they also now express a dependency on Node 4.

The last thing you can do is put enhanced-resolve: 3.0.3 as a dependency in your top level project, which will then, once deduped, have ts-loader using enhanced-resolve: 3.0.3 and will work around the issue. Yes, it's a bit ugly, but it's all we can do at this point.

from enhanced-resolve.

Related Issues (20)

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.