GithubHelp home page GithubHelp logo

Comments (6)

roderickhsiao avatar roderickhsiao commented on June 17, 2024 2

in our project we set a module alias replacement to make sure all package is using the same version of app level of debug at least at client side bundle, just f.y.i

debug: path.resolve(__dirname, '../node_modules/debug')

from fluxible.

redonkulus avatar redonkulus commented on June 17, 2024 1

I'm fine with removing debug entirely

from fluxible.

pablopalacios avatar pablopalacios commented on June 17, 2024 1

I mean, I'm not a webpack expert. Here we use a quite plain configuration. I tried to play with the split chunks optimization but I didn't get any further. But the issue is also visible in the examples and there you can see the webpack configuration.

But anyway, I saw that you merged and released everything, thanks for that!

from fluxible.

redonkulus avatar redonkulus commented on June 17, 2024

I've been thinking about this as well. Is each of our OSS library using a different version of debug? Otherwise, I thought they would all be deduped by webpack.

from fluxible.

pablopalacios avatar pablopalacios commented on June 17, 2024

Most of them has ^2.0.0 as dep. In my package-lock they are all in 2.6.9 so I would also expect to have it deduped by webpack automatically, but it doesn't.

from fluxible.

redonkulus avatar redonkulus commented on June 17, 2024

Most of them has ^2.0.0 as dep. In my package-lock they are all in 2.6.9 so I would also expect to have it deduped by webpack automatically, but it doesn't.

Its odd that webpack is not deduping it, maybe a webpack config issue?

from fluxible.

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.